SessionHandler

Default session handler. Hierarchy class \Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxyclass \Drupal\Core\Session\SessionHandler implements SessionHandlerInterface uses DependencySerializationTrait File core/lib/Drupal/Core/Session/SessionHandler.php, line 15 Namespace Drupal\Core\Session Members Name Modifiers Type Description AbstractProxy::$active protected property AbstractProxy::$saveHandlerName protected property AbstractProxy::$wr

View::preDelete

public static View::preDelete(EntityStorageInterface $storage, array $entities) Acts on entities before they are deleted and before hooks are invoked. Used before the entities are deleted and before invoking the delete hook. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. \Drupal\Core\Entity\EntityInterface[] $entities: An array of entities. Overrides ConfigEntityBase::preDelete File core/modules/views/src/Entity/View.php, line 397 Class View Def

ConfigurableLanguage::getDirection

public ConfigurableLanguage::getDirection() Gets the text direction (left-to-right or right-to-left). Return value string Either self::DIRECTION_LTR or self::DIRECTION_RTL. Overrides LanguageInterface::getDirection File core/modules/language/src/Entity/ConfigurableLanguage.php, line 215 Class ConfigurableLanguage Defines the ConfigurableLanguage entity. Namespace Drupal\language\Entity Code public function getDirection() { return $this->direction; }

CacheCollector::$cache

The cache backend that should be used. Type: \Drupal\Core\Cache\CacheBackendInterface File core/lib/Drupal/Core/Cache/CacheCollector.php, line 45 Class CacheCollector Default implementation for CacheCollectorInterface. Namespace Drupal\Core\Cache Code protected $cache;

CacheTagsChecksumInterface::getCurrentChecksum

public CacheTagsChecksumInterface::getCurrentChecksum(array $tags) Returns the sum total of validations for a given set of tags. Called by a backend when storing a cache item. Parameters string[] $tags: Array of cache tags. Return value string Cache tag invalidations checksum. File core/lib/Drupal/Core/Cache/CacheTagsChecksumInterface.php, line 32 Class CacheTagsChecksumInterface Provides checksums for cache tag invalidations. Namespace Drupal\Core\Cache Code public function getCurre

ImageInterface::isValid

public ImageInterface::isValid() Checks if the image is valid. Return value bool TRUE if the image object contains a valid image, FALSE otherwise. File core/lib/Drupal/Core/Image/ImageInterface.php, line 16 Class ImageInterface Provides an interface for image objects. Namespace Drupal\Core\Image Code public function isValid();

SystemBrandingOffCanvasForm::submitConfigurationForm

public SystemBrandingOffCanvasForm::submitConfigurationForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm(). \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Calling code should pass on a subform state created through \Drupal\Core\Form\SubformState::createForSubform(). Overrides PluginFormInterface::subm

_filter_url_parse_email_links

_filter_url_parse_email_links($match) Makes links out of email addresses. Callback for preg_replace_callback() within _filter_url(). Related topics Standard filters Filters implemented by the Filter module. File core/modules/filter/filter.module, line 607 Framework for handling the filtering of content. Code function _filter_url_parse_email_links($match) { // The $i:th parenthesis in the regexp contains the URL. $i = 0; $match[$i] = Html::decodeEntities($match[$i]); $caption = Html

ContentTranslationHandler::$languageManager

The language manager. Type: \Drupal\Core\Language\LanguageManagerInterface File core/modules/content_translation/src/ContentTranslationHandler.php, line 47 Class ContentTranslationHandler Base class for content translation handlers. Namespace Drupal\content_translation Code protected $languageManager;

ImageFactory::getSupportedExtensions

public ImageFactory::getSupportedExtensions($toolkit_id = NULL) Returns the image file extensions supported by the toolkit. Parameters string|null $toolkit_id: (optional) The ID of the image toolkit to use for checking, or NULL to use the current toolkit. Return value array An array of supported image file extensions (e.g. png/jpeg/gif). See also \Drupal\Core\ImageToolkit\ImageToolkitInterface::getSupportedExtensions() File core/lib/Drupal/Core/Image/ImageFactory.php, line 100 Class Imag