FileCache

Allows to cache data based on file modification dates. Hierarchy class \Drupal\Component\FileCache\FileCache implements FileCacheInterface File core/lib/Drupal/Component/FileCache/FileCache.php, line 8 Namespace Drupal\Component\FileCache Members Name Modifiers Type Description FileCache::$cache protected property The cache backend backing this FileCache object. FileCache::$cached protected static property Static cache that contains already loaded cache entries.

update_authorize_install_batch_finished

update_authorize_install_batch_finished($success, $results) Implements callback_batch_finished(). Performs actions when the authorized install batch is done. This processes the results and stashes them into SESSION such that authorize.php will render a report. Also responsible for putting the site back online after a successful install if necessary. Parameters $success: TRUE if the batch operation was a success; FALSE if there were errors. $results: An associative array of results from the bat

NodePreviewConverter::__construct

public NodePreviewConverter::__construct(PrivateTempStoreFactory $temp_store_factory) Constructs a new NodePreviewConverter. Parameters \Drupal\user\PrivateTempStoreFactory $temp_store_factory: The factory for the temp store object. File core/modules/node/src/ParamConverter/NodePreviewConverter.php, line 27 Class NodePreviewConverter Provides upcasting for a node entity in preview. Namespace Drupal\node\ParamConverter Code public function __construct(PrivateTempStoreFactory $temp_stor

ContextualLinkInterface::getGroup

public ContextualLinkInterface::getGroup() Returns the group this contextual link should be rendered in. A contextual link group is a set of contextual links that are displayed together on a certain page. For example, the 'block' group displays all links related to the block, such as the block instance edit link as well as the views edit link, if it is a view block. Return value string The contextual links group name. File core/lib/Drupal/Core/Menu/ContextualLinkInterface.php, line 50 Class

Tables::ensureFieldTable

protected Tables::ensureFieldTable($index_prefix, &$field, $type, $langcode, $base_table, $entity_id_field, $field_id_field, $delta) Join field table if necessary. Parameters $field_name: Name of the field. Return value string Throws \Drupal\Core\Entity\Query\QueryException File core/lib/Drupal/Core/Entity/Query/Sql/Tables.php, line 315 Class Tables Adds tables and fields to the SQL entity query. Namespace Drupal\Core\Entity\Query\Sql Code protected function ensureFieldTable($in

AdminDemoNegotiator::applies

public AdminDemoNegotiator::applies(RouteMatchInterface $route_match) Whether this theme negotiator should be used to set the theme. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match object. Return value bool TRUE if this negotiator should be used or FALSE to let other negotiators decide. Overrides ThemeNegotiatorInterface::applies File core/modules/block/src/Theme/AdminDemoNegotiator.php, line 16 Class AdminDemoNegotiator Negotiates the theme for

EntityViewController::buildTitle

public EntityViewController::buildTitle(array $page) Pre-render callback to build the page title. Parameters array $page: A page render array. Return value array The changed page render array. File core/lib/Drupal/Core/Entity/Controller/EntityViewController.php, line 63 Class EntityViewController Defines a generic controller to render a single entity. Namespace Drupal\Core\Entity\Controller Code public function buildTitle(array $page) { $entity_type = $page['#entity_type']; $enti

FeedInterface::setUrl

public FeedInterface::setUrl($url) Sets the url to the feed. Parameters string $url: A string containing the url of the feed. Return value \Drupal\aggregator\FeedInterface The class instance that this method is called on. File core/modules/aggregator/src/FeedInterface.php, line 40 Class FeedInterface Provides an interface defining an aggregator feed entity. Namespace Drupal\aggregator Code public function setUrl($url);

EntityTypeInterface::getRevisionDataTable

public EntityTypeInterface::getRevisionDataTable() Gets the name of the entity's revision data table. @todo Used by SqlContentEntityStorage only. Return value string|null The name of the entity type's revision data table, or NULL if none exists. File core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 592 Class EntityTypeInterface Provides an interface for an entity type and its metadata. Namespace Drupal\Core\Entity Code public function getRevisionDataTable();

EntityViewController::create

public static EntityViewController::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 ser