DateFormatFormBase::__construct

public DateFormatFormBase::__construct(DateFormatterInterface $date_formatter, ConfigEntityStorageInterface $date_format_storage) Constructs a new date format form. Parameters \Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date service. \Drupal\Core\Config\Entity\ConfigEntityStorageInterface $date_format_storage: The date format storage. File core/modules/system/src/Form/DateFormatFormBase.php, line 40 Class DateFormatFormBase Provides a base form for date formats. Na

PlaceholderingRenderCache::createPlaceholderAndRemember

protected PlaceholderingRenderCache::createPlaceholderAndRemember(array $rendered_elements, array $pre_bubbling_elements) Create a placeholder for a renderable array and remember in a static cache. Parameters array $rendered_elements: A fully rendered renderable array. array $pre_bubbling_elements: A renderable array corresponding to the state (in particular, the cacheability metadata) of $rendered_elements prior to the beginning of its rendering process, and therefore before any bubbling of c

CommentViewBuilder::alterBuild

protected CommentViewBuilder::alterBuild(array &$build, EntityInterface $comment, EntityViewDisplayInterface $display, $view_mode) Specific per-entity building. Parameters array $build: The render array that is being created. \Drupal\Core\Entity\EntityInterface $entity: The entity to be prepared. \Drupal\Core\Entity\Display\EntityViewDisplayInterface $display: The entity view display holding the display options configured for the entity components. string $view_mode: The view mode that sho

PlaceholderingRenderCache::getFromPlaceholderResultsCache

protected PlaceholderingRenderCache::getFromPlaceholderResultsCache(array $elements) Retrieves an auto-placeholdered renderable array from the static cache. Parameters array $elements: A renderable array. Return value array|false A renderable array, with the original element and all its children pre- rendered, or FALSE if no cached copy of the element is available. File core/lib/Drupal/Core/Render/PlaceholderingRenderCache.php, line 179 Class PlaceholderingRenderCache Adds automatic plac

ConfigCacheTag

A subscriber invalidating cache tags when system config objects are saved. Hierarchy class \Drupal\system\EventSubscriber\ConfigCacheTag implements EventSubscriberInterface File core/modules/system/src/EventSubscriber/ConfigCacheTag.php, line 14 Namespace Drupal\system\EventSubscriber Members Name Modifiers Type Description ConfigCacheTag::$cacheTagsInvalidator protected property The cache tags invalidator. ConfigCacheTag::$themeHandler protected property The the

PlaceholderingRenderCache::set

public PlaceholderingRenderCache::set(array &$elements, array $pre_bubbling_elements) Caches the rendered output of a renderable array. May be called by an implementation of \Drupal\Core\Render\RendererInterface while rendering, if the #cache property is set. Parameters array $elements: A renderable array. array $pre_bubbling_elements: A renderable array corresponding to the state (in particular, the cacheability metadata) of $elements prior to the beginning of its rendering process, and t

ConfigManager::getConfigCollectionInfo

public ConfigManager::getConfigCollectionInfo() Gets available collection information using the event system. Return value \Drupal\Core\Config\ConfigCollectionInfo The object which contains information about the available collections. Overrides ConfigManagerInterface::getConfigCollectionInfo File core/lib/Drupal/Core/Config/ConfigManager.php, line 367 Class ConfigManager The ConfigManager provides helper functions for the configuration system. Namespace Drupal\Core\Config Code public

Views::getDisabledViews

public static Views::getDisabledViews() Returns an array of all disabled views. Return value \Drupal\views\Entity\View[] An array of loaded disabled view entities. File core/modules/views/src/Views.php, line 268 Class Views Static service container wrapper for views. Namespace Drupal\views Code public static function getDisabledViews() { $query = \Drupal::entityQuery('view') ->condition('status', FALSE) ->execute(); return \Drupal::entityManager()->getStorage('vi

ArrayElement::createElement

protected ArrayElement::createElement($definition, $value, $key) Creates a contained typed configuration object. Parameters \Drupal\Core\TypedData\DataDefinitionInterface $definition: The data definition object. mixed $value: (optional) The data value. If set, it has to match one of the supported data type format as documented for the data type classes. string $key: The key of the contained element. Return value \Drupal\Core\TypedData\TypedDataInterface File core/lib/Drupal/Core/Config/Schema

hook_entity_field_storage_info_alter

hook_entity_field_storage_info_alter(&$fields, \Drupal\Core\Entity\EntityTypeInterface $entity_type) Alter field storage definitions for a content entity type. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface[] $fields: The array of field storage definitions for the entity type. \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. See also hook_entity_field_storage_info() Related topics Hooks Define functions that alter the behavior of Drupal core