_filter_html_image_secure_process

_filter_html_image_secure_process($text) Process callback for local image filter. Related topics Standard filters Filters implemented by the Filter module. File core/modules/filter/filter.module, line 765 Framework for handling the filtering of content. Code function _filter_html_image_secure_process($text) { // Find the path (e.g. '/') to Drupal root. $base_path = base_path(); $base_path_length = Unicode::strlen($base_path); // Find the directory on the server where index.php resi

FieldStorageAddForm::$configFactory

The configuration factory. Type: \Drupal\Core\Config\ConfigFactoryInterface Overrides FormBase::$configFactory File core/modules/field_ui/src/Form/FieldStorageAddForm.php, line 61 Class FieldStorageAddForm Provides a form for the "field storage" add page. Namespace Drupal\field_ui\Form Code protected $configFactory;

StreamWrapperManager::$info

Contains stream wrapper info. An associative array where keys are scheme names and values are themselves associative arrays with the keys class, type and (optionally) service_id, and string values. Type: array File core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php, line 26 Class StreamWrapperManager Provides a StreamWrapper manager. Namespace Drupal\Core\StreamWrapper Code protected $info = array();

DeleteForm::create

public static DeleteForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service conta

AggregatorController::pageLast

public AggregatorController::pageLast() Displays the most recent items gathered from any feed. Return value string The rendered list of items for the feed. File core/modules/aggregator/src/Controller/AggregatorController.php, line 176 Class AggregatorController Returns responses for aggregator module routes. Namespace Drupal\aggregator\Controller Code public function pageLast() { $items = $this->entityManager()->getStorage('aggregator_item')->loadAll(20); $build = $this-&

StreamWrapperManager::$wrappers

Contains collected stream wrappers. Keyed by filter, each value is itself an associative array keyed by scheme. Each of those values is an array representing a stream wrapper, with the following keys and values: class: stream wrapper class name type: a bitmask corresponding to the type constants in StreamWrapperInterface service_id: name of service The array on key StreamWrapperInterface::ALL contains representations of all schemes and corresponding wrappers. Type: array File core/lib/Drup

StreamWrapperManager::addStreamWrapper

public StreamWrapperManager::addStreamWrapper($service_id, $class, $scheme) Adds a stream wrapper. Internal use only. Parameters string $service_id: The service id. string $class: The stream wrapper class. string $scheme: The scheme for which the wrapper should be registered. File core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php, line 151 Class StreamWrapperManager Provides a StreamWrapper manager. Namespace Drupal\Core\StreamWrapper Code public function addStreamWrapper($s

YamlDiscovery::findAll

public YamlDiscovery::findAll() Returns an array of discoverable items. Return value array An array of discovered data keyed by provider. Throws \Drupal\Component\Discovery\DiscoveryException Exception thrown if there is a problem during discovery. Overrides DiscoverableInterface::findAll File core/lib/Drupal/Component/Discovery/YamlDiscovery.php, line 44 Class YamlDiscovery Provides discovery for YAML files within a given set of directories. Namespace Drupal\Component\Discovery Code

EntityInterface::delete

public EntityInterface::delete() Deletes an entity permanently. Throws \Drupal\Core\Entity\EntityStorageException In case of failures an exception is thrown. File core/lib/Drupal/Core/Entity/EntityInterface.php, line 289 Class EntityInterface Defines a common interface for all entity objects. Namespace Drupal\Core\Entity Code public function delete();

Registry

Defines the theme registry service. @internal Theme registry is expected to be used only internally since every hook_theme() implementation depends on the way this class is built. This class may get new features in minor releases so this class should be considered internal. @todo Replace local $registry variables in methods with $this->registry. Hierarchy class \Drupal\Core\Theme\Registry implements DestructableInterface File core/lib/Drupal/Core/Theme/Registry.php, line 25 Namespace