CacheBackendInterface::set

public CacheBackendInterface::set($cid, $data, $expire = Cache::PERMANENT, array $tags = array()) Stores data in the persistent cache. Core cache implementations set the created time on cache item with microtime(TRUE) rather than REQUEST_TIME_FLOAT, because the created time of cache items should match when they are created, not when the request started. Apart from being more accurate, this increases the chance an item will legitimately be considered valid. Parameters string $cid: The cache ID

YamlDirectoryDiscovery::FILE_KEY

Defines the key in the discovered data where the file path is stored. File core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php, line 18 Class YamlDirectoryDiscovery Discovers multiple YAML files in a set of directories. Namespace Drupal\Component\Discovery Code const FILE_KEY = '_discovered_file_path';

PageTitle::getInfo

public PageTitle::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides ElementInterface::getInfo File core/lib/Drupal/Core/Render/Element/PageTitle.php, line 17 Class PageTitle Provides a render element for the title of an HTML page. Namespace Drupal\Core\Render\Elemen

ConfigDependencies::calculateDependencies

public ConfigDependencies::calculateDependencies(RestResourceConfigInterface $rest_config) Calculates dependencies of a specific rest resource configuration. This function returns dependencies in a non-sorted, non-unique manner. It is therefore the caller's responsibility to sort and remove duplicates from the result prior to saving it with the configuration or otherwise using it in a way that requires that. For example, \Drupal\rest\Entity\RestResourceConfig::calculateDependencies() does this

JS_SETTING

The default group for JavaScript settings added to the page. File core/includes/common.inc, line 109 Common functions that many Drupal modules will need to reference. Code const JS_SETTING = -200;

TranslateEditForm::buildForm

public TranslateEditForm::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides FormInterface::buildForm File core/modules/locale/src/Form/TranslateEditForm.php, line 24 Class TranslateEditForm Defines a translation edit form. Namespace Drupal\locale\Form

MemoryCounterBackend::set

public MemoryCounterBackend::set($cid, $data, $expire = Cache::PERMANENT, array $tags = array()) Stores data in the persistent cache. Core cache implementations set the created time on cache item with microtime(TRUE) rather than REQUEST_TIME_FLOAT, because the created time of cache items should match when they are created, not when the request started. Apart from being more accurate, this increases the chance an item will legitimately be considered valid. Parameters string $cid: The cache ID o

views-ui-build-group-filter-form.html.twig

Default theme implementation for Views UI build group filter form. Available variables: form: A render element representing the form. Contains the following: form_description: The exposed filter's description. expose_button: The button to toggle the expose filter form. group_button: Toggle options between single and grouped filters. label: A filter label input field. description: A filter description field. value: The filters available values. optional: A checkbox to require this filter

MenuController::create

public static MenuController::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 service c

ThemeHandler::systemListReset

protected ThemeHandler::systemListReset() Wraps system_list_reset(). File core/lib/Drupal/Core/Extension/ThemeHandler.php, line 442 Class ThemeHandler Default theme handler using the config system to store installation statuses. Namespace Drupal\Core\Extension Code protected function systemListReset() { system_list_reset(); }