View::addCacheMetadata

protected View::addCacheMetadata() Fills in the cache metadata of this view. Cache metadata is set per view and per display, and ends up being stored in the view's configuration. This allows Views to determine very efficiently: the max-age the cache contexts the cache tags In other words: this allows us to do the (expensive) work of initializing Views plugins and handlers to determine their effect on the cacheability of a view at save time rather than at runtime. File core/modules/views/src/E

LibraryDependencyResolverInterface

Resolves the dependencies of asset (CSS/JavaScript) libraries. Hierarchy interface \Drupal\Core\Asset\LibraryDependencyResolverInterface File core/lib/Drupal/Core/Asset/LibraryDependencyResolverInterface.php, line 8 Namespace Drupal\Core\Asset Members Name Modifiers Type Description LibraryDependencyResolverInterface::getLibrariesWithDependencies public function Gets the given libraries with their dependencies. LibraryDependencyResolverInterface::getMinimalRepresentati

ShortcutSetInterface::getShortcuts

public ShortcutSetInterface::getShortcuts() Returns all the shortcuts from a shortcut set sorted correctly. Return value \Drupal\shortcut\ShortcutInterface[] An array of shortcut entities. File core/modules/shortcut/src/ShortcutSetInterface.php, line 30 Class ShortcutSetInterface Provides an interface defining a shortcut set entity. Namespace Drupal\shortcut Code public function getShortcuts();

ViewsEntitySchemaSubscriber::baseTableRename

protected ViewsEntitySchemaSubscriber::baseTableRename($all_views, $entity_type_id, $old_base_table, $new_base_table) Updates views if a base table is renamed. Parameters \Drupal\views\Entity\View[] $all_views: All views. string $entity_type_id: The entity type ID. string $old_base_table: The old base table name. string $new_base_table: The new base table name. File core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php, line 257 Class ViewsEntitySchemaSubscriber Reacts to

FormattableMarkup::placeholderEscape

protected static FormattableMarkup::placeholderEscape($value) Escapes a placeholder replacement value if needed. Parameters string|\Drupal\Component\Render\MarkupInterface $value: A placeholder replacement value. Return value string The properly escaped replacement value. File core/lib/Drupal/Component/Render/FormattableMarkup.php, line 258 Class FormattableMarkup Formats a string for HTML display by replacing variable placeholders. Namespace Drupal\Component\Render Code protected st

ParamConversionEnhancer::enhance

public ParamConversionEnhancer::enhance(array $defaults, Request $request) Update the defaults based on its own data and the request. Parameters array $defaults the getRouteDefaults array.: Request $request the Request instance.: Return value array the modified defaults. Each enhancer MUST return the $defaults but may add or remove values. Overrides RouteEnhancerInterface::enhance File core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php, line 41 Class ParamConversionEnhancer

ActiveTheme::getExtension

public ActiveTheme::getExtension() Returns the extension object. Return value \Drupal\Core\Extension\Extension File core/lib/Drupal/Core/Theme/ActiveTheme.php, line 161 Class ActiveTheme Defines a theme and its information needed at runtime. Namespace Drupal\Core\Theme Code public function getExtension() { return $this->extension; }

ViewsEntitySchemaSubscriber::dataTableRemoval

protected ViewsEntitySchemaSubscriber::dataTableRemoval($all_views, $entity_type_id, $old_data_table, $base_table) Updates views if a data table is removed. Parameters \Drupal\views\Entity\View[] $all_views: All views. string $entity_type_id: The entity type ID. string $old_data_table: The name of the previous existing data table. string $base_table: The name of the base table. File core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php, line 342 Class ViewsEntitySchemaSubs

UserSession::$access

The Unix timestamp when the user last accessed the site. Type: string. File core/lib/Drupal/Core/Session/UserSession.php, line 33 Class UserSession An implementation of the user account interface for the global user. Namespace Drupal\Core\Session Code protected $access;

locale_translation_check_projects

locale_translation_check_projects($projects = array(), $langcodes = array()) Check for the latest release of project translations. @todo Return batch or NULL. Parameters array $projects: Array of project names to check. Defaults to all translatable projects. string $langcodes: Array of language codes. Defaults to all translatable languages. Return value array Available sources indexed by project and language. File core/modules/locale/locale.compare.inc, line 184 The API for comparing project