DatabaseBackend::deleteAll

public DatabaseBackend::deleteAll() Deletes all cache items in a bin. Overrides CacheBackendInterface::deleteAll See also \Drupal\Core\Cache\CacheBackendInterface::invalidateAll() \Drupal\Core\Cache\CacheBackendInterface::delete() \Drupal\Core\Cache\CacheBackendInterface::deleteMultiple() File core/lib/Drupal/Core/Cache/DatabaseBackend.php, line 270 Class DatabaseBackend Defines a default cache implementation. Namespace Drupal\Core\Cache Code public function deleteAll() { try {

LocaleTranslationCacheTag::$cacheTagsInvalidator

The cache tags invalidator. Type: \Drupal\Core\Cache\CacheTagsInvalidatorInterface File core/modules/locale/src/EventSubscriber/LocaleTranslationCacheTag.php, line 19 Class LocaleTranslationCacheTag A subscriber invalidating cache tags when translating a string. Namespace Drupal\locale\EventSubscriber Code protected $cacheTagsInvalidator;

Connection::schema

public Connection::schema() Returns a DatabaseSchema object for manipulating the schema. This method will lazy-load the appropriate schema library file. Return value \Drupal\Core\Database\Schema The database Schema object for this connection. File core/lib/Drupal/Core/Database/Connection.php, line 906 Class Connection Base Database API class. Namespace Drupal\Core\Database Code public function schema() { if (empty($this->schema)) { $class = $this->getDriverClass('Schema');

EntityDeleteFormTrait::getRedirectUrl

protected EntityDeleteFormTrait::getRedirectUrl() Returns the URL where the user should be redirected after deletion. Return value \Drupal\Core\Url The redirect URL. File core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php, line 95 Class EntityDeleteFormTrait Provides a trait for an entity deletion form. Namespace Drupal\Core\Entity Code protected function getRedirectUrl() { $entity = $this->getEntity(); if ($entity->hasLinkTemplate('collection')) { // If available, re

CommentTypeForm::save

public CommentTypeForm::save(array $form, FormStateInterface $form_state) Form submission handler for the 'save' action. Normally this method should be overridden to provide specific messages to the user and redirect the form after the entity has been saved. 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 int Either SAVED_NEW or SAVED_UPDATED, depending on the opera

LanguageAddForm::getFormId

public LanguageAddForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides EntityForm::getFormId File core/modules/language/src/Form/LanguageAddForm.php, line 18 Class LanguageAddForm Controller for language addition forms. Namespace Drupal\language\Form Code public function getFormId() { // @todo Remove in favour of base method. return 'language_admin_add_form'; }

NullStorage::decode

public NullStorage::decode($raw) Decodes configuration data from the storage-specific format. This is a publicly accessible static method to allow for alternative usages in data conversion scripts and also tests. Parameters string $raw: The raw configuration data string to decode. Return value array The decoded configuration data as an associative array. Overrides StorageInterface::decode File core/lib/Drupal/Core/Config/NullStorage.php, line 73 Class NullStorage Defines a stub storage.

NullStorage::exists

public NullStorage::exists($name) Returns whether a configuration object exists. Parameters string $name: The name of a configuration object to test. Return value bool TRUE if the configuration object exists, FALSE otherwise. Overrides StorageInterface::exists File core/lib/Drupal/Core/Config/NullStorage.php, line 24 Class NullStorage Defines a stub storage. Namespace Drupal\Core\Config Code public function exists($name) { return FALSE; }

EntityAccessControlHandlerInterface::createAccess

public EntityAccessControlHandlerInterface::createAccess($entity_bundle = NULL, AccountInterface $account = NULL, array $context = array(), $return_as_object = FALSE) Checks access to create an entity. Parameters string $entity_bundle: (optional) The bundle of the entity. Required if the entity supports bundles, defaults to NULL otherwise. \Drupal\Core\Session\AccountInterface $account: (optional) The user session for which to check access, or NULL to check access for the current user. Default

ImageToolkitOperationManager

Manages toolkit operation plugins. Hierarchy class \Drupal\Component\Plugin\PluginManagerBase implements PluginManagerInterface uses DiscoveryTraitclass \Drupal\Core\Plugin\DefaultPluginManager implements CachedDiscoveryInterface, PluginManagerInterface, CacheableDependencyInterface uses DiscoveryCachedTrait, UseCacheBackendTraitclass \Drupal\Core\ImageToolkit\ImageToolkitOperationManager implements ImageToolkitOperationManagerInterface See also \Drupal\Core\ImageToolkit\Annotation\ImageT