config_translation_themes_installed

config_translation_themes_installed() Implements hook_themes_installed(). File core/modules/config_translation/config_translation.module, line 53 Configuration Translation module. Code function config_translation_themes_installed() { // Themes can provide *.config_translation.yml declarations. // @todo Make ThemeHandler trigger an event instead and make // ConfigMapperManager plugin manager subscribe to it. // @see https://www.drupal.org/node/2206347 \Drupal::service('plugin.manag

FormState::$rebuild

Normally, after the entire form processing is completed and submit handlers have run, a form is considered to be done and \Drupal\Core\Form\FormSubmitterInterface::redirectForm() will redirect the user to a new page using a GET request (so a browser refresh does not re-submit the form). However, if 'rebuild' has been set to TRUE, then a new copy of the form is immediately built and sent to the browser, instead of a redirect. This is used for multi-step forms, such as wizards and confirmation fo

SearchPageRepository::$storage

The search page storage. Type: \Drupal\Core\Entity\EntityStorageInterface File core/modules/search/src/SearchPageRepository.php, line 25 Class SearchPageRepository Provides a repository for Search Page config entities. Namespace Drupal\search Code protected $storage;

ChainedFastBackend::invalidate

public ChainedFastBackend::invalidate($cid) Marks a cache item as invalid. Invalid items may be returned in later calls to get(), if the $allow_invalid argument is TRUE. Parameters string $cid: The cache ID to invalidate. Overrides CacheBackendInterface::invalidate See also \Drupal\Core\Cache\CacheBackendInterface::delete() \Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple() \Drupal\Core\Cache\CacheBackendInterface::invalidateAll() File core/lib/Drupal/Core/Cache/ChainedFastBackend

EntityChangedTrait::getChangedTimeAcrossTranslations

public EntityChangedTrait::getChangedTimeAcrossTranslations() Returns the timestamp of the last entity change across all translations. Return value int The timestamp of the last entity save operation across all translations. Overrides EntityChangedInterface::getChangedTimeAcrossTranslations File core/lib/Drupal/Core/Entity/EntityChangedTrait.php, line 17 Class EntityChangedTrait Provides a trait for accessing changed time. Namespace Drupal\Core\Entity Code public function getChangedTi

UnroutedUrlAssembler::__construct

public UnroutedUrlAssembler::__construct(RequestStack $request_stack, OutboundPathProcessorInterface $path_processor, array $filter_protocols = ['http', 'https']) Constructs a new unroutedUrlAssembler object. Parameters \Symfony\Component\HttpFoundation\RequestStack $request_stack: A request stack object. \Drupal\Core\PathProcessor\OutboundPathProcessorInterface $path_processor: The output path processor. string[] $filter_protocols: (optional) An array of protocols allowed for URL generation.

State::delete

public State::delete($key) Deletes an item. Parameters string $key: The item name to delete. Overrides StateInterface::delete File core/lib/Drupal/Core/State/State.php, line 100 Class State Provides the state system using a key value store. Namespace Drupal\Core\State Code public function delete($key) { $this->deleteMultiple(array($key)); }

TypedDataManager::getPropertyInstance

public TypedDataManager::getPropertyInstance(TypedDataInterface $object, $property_name, $value = NULL) Get a typed data instance for a property of a given typed data object. This method will use prototyping for fast and efficient instantiation of many property objects with the same property path; for example, when multiple comments are used comment_body.0.value needs to be instantiated very often. Prototyping is done by the root object's data type and the given property path, i.e. all property

DateTimePlus::RFC7231

A RFC7231 Compliant date. http://tools.ietf.org/html/rfc7231#section-7.1.1.1 Example: Sun, 06 Nov 1994 08:49:37 GMT File core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 39 Class DateTimePlus Wraps DateTime(). Namespace Drupal\Component\Datetime Code const RFC7231 = 'D, d M Y H:i:s \G\M\T';

statistics_preprocess_block

statistics_preprocess_block(&$variables) Implements hook_preprocess_HOOK() for block templates. File core/modules/statistics/statistics.module, line 189 Logs and displays content statistics for a site. Code function statistics_preprocess_block(&$variables) { if ($variables['configuration']['provider'] == 'statistics') { $variables['attributes']['role'] = 'navigation'; } }