template_preprocess_text_format_wrapper

template_preprocess_text_format_wrapper(&$variables) Prepares variables for text format wrapper templates. Default template: text-format-wrapper.html.twig. Parameters array $variables: An associative array containing: attributes: An associative array containing properties of the element. File core/modules/filter/filter.module, line 390 Framework for handling the filtering of content. Code function template_preprocess_text_format_wrapper(&$variables) { $variables['aria_descriptio

State::__construct

State::__construct(KeyValueFactoryInterface $key_value_factory) Constructs a State object. Parameters \Drupal\Core\KeyValueStore\KeyValueFactoryInterface $key_value_factory: The key value store to use. File core/lib/Drupal/Core/State/State.php, line 32 Class State Provides the state system using a key value store. Namespace Drupal\Core\State Code function __construct(KeyValueFactoryInterface $key_value_factory) { $this->keyValueStore = $key_value_factory->get('state'); }

install_begin_request

install_begin_request($class_loader, &$install_state) Begins an installation request, modifying the installation state as needed. This function performs commands that must run at the beginning of every page request. It throws an exception if the installation should not proceed. Parameters $class_loader: The class loader. Normally Composer's ClassLoader, as included by the front controller, but may also be decorated; e.g., \Symfony\Component\ClassLoader\ApcClassLoader. $install_state: An ar

DateFormat::getCacheTagsToInvalidate

public DateFormat::getCacheTagsToInvalidate() Returns the cache tags that should be used to invalidate caches. This will not return additional cache tags added through addCacheTags(). Return value string[] Set of cache tags. Overrides ConfigEntityBase::getCacheTagsToInvalidate See also \Drupal\Core\Cache\RefinableCacheableDependencyInterface::addCacheTags() \Drupal\Core\Cache\CacheableDependencyInterface::getCacheTags() File core/lib/Drupal/Core/Datetime/Entity/DateFormat.php, line 99 Clas

tracker_comment_delete

tracker_comment_delete(CommentInterface $comment) Implements hook_ENTITY_TYPE_delete() for comment entities. File core/modules/tracker/tracker.module, line 226 Tracks recent content posted by a user or users. Code function tracker_comment_delete(CommentInterface $comment) { if ($comment->getCommentedEntityTypeId() == 'node') { _tracker_remove($comment->getCommentedEntityId(), $comment->getOwnerId(), $comment->getChangedTime()); } }

DateFormat::sort

public static DateFormat::sort(ConfigEntityInterface $a, ConfigEntityInterface $b) Helper callback for uasort() to sort configuration entities by weight and label. Overrides ConfigEntityBase::sort File core/lib/Drupal/Core/Datetime/Entity/DateFormat.php, line 87 Class DateFormat Defines the Date Format configuration entity class. Namespace Drupal\Core\Datetime\Entity Code public static function sort(ConfigEntityInterface $a, ConfigEntityInterface $b) { if ($a->isLocked() == $b->

EntityType::__construct

public EntityType::__construct($definition) Constructs a new EntityType. Parameters array $definition: An array of values from the annotation. Throws \Drupal\Core\Entity\Exception\EntityTypeIdLengthException Thrown when attempting to instantiate an entity type with too long ID. File core/lib/Drupal/Core/Entity/EntityType.php, line 278 Class EntityType Provides an implementation of an entity type and its metadata. Namespace Drupal\Core\Entity Code public function __construct($definiti

DateFormat::$label

The human-readable name of the date format entity. Type: string File core/lib/Drupal/Core/Datetime/Entity/DateFormat.php, line 46 Class DateFormat Defines the Date Format configuration entity class. Namespace Drupal\Core\Datetime\Entity Code protected $label;

MaintenanceMode

Provides the default implementation of the maintenance mode service. Hierarchy class \Drupal\Core\Site\MaintenanceMode implements MaintenanceModeInterface File core/lib/Drupal/Core/Site/MaintenanceMode.php, line 12 Namespace Drupal\Core\Site Members Name Modifiers Type Description MaintenanceMode::$state protected property The state. MaintenanceMode::applies public function Returns whether the site is in maintenance mode. Overrides MaintenanceModeInterface::appli

SelectExtender::orConditionGroup

public SelectExtender::orConditionGroup() Creates a new group of conditions ORed together. Return value \Drupal\Core\Database\Query\ConditionInterface Overrides ConditionInterface::orConditionGroup File core/lib/Drupal/Core/Database/Query/SelectExtender.php, line 532 Class SelectExtender The base extender class for Select queries. Namespace Drupal\Core\Database\Query Code public function orConditionGroup() { return $this->conditionGroupFactory('OR'); }