MemoryBackend::delete

public MemoryBackend::delete($cid) Deletes an item from the cache. If the cache item is being deleted because it is no longer "fresh", you may consider using invalidate() instead. This allows callers to retrieve the invalid item by calling get() with $allow_invalid set to TRUE. In some cases an invalid item may be acceptable rather than having to rebuild the cache. Parameters string $cid: The cache ID to delete. Overrides CacheBackendInterface::delete See also \Drupal\Core\Cache\CacheBackendI

Xss::$htmlTags

The default list of HTML tags allowed by filter(). Type: array See also \Drupal\Component\Utility\Xss::filter() File core/lib/Drupal/Component/Utility/Xss.php, line 28 Class Xss Provides helper to filter for cross-site scripting. Namespace Drupal\Component\Utility Code protected static $htmlTags = array('a', 'em', 'strong', 'cite', 'blockquote', 'code', 'ul', 'ol', 'li', 'dl', 'dt', 'dd');

MachineName::processMachineName

public static MachineName::processMachineName(&$element, FormStateInterface $form_state, &$complete_form) Processes a machine-readable name form element. Parameters array $element: The form element to process. See main class documentation for properties. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. array $complete_form: The complete form structure. Return value array The processed element. File core/lib/Drupal/Core/Render/Element/MachineName.php, li

ForumManager

Provides forum manager service. Hierarchy class \Drupal\forum\ForumManager implements ForumManagerInterface uses DependencySerializationTrait, StringTranslationTrait File core/modules/forum/src/ForumManager.php, line 18 Namespace Drupal\forum Members Name Modifiers Type Description DependencySerializationTrait::$_serviceIds protected property An array of service IDs keyed by property name used for serialization. DependencySerializationTrait::__sleep public function

ContentTranslationManagerInterface::getTranslationMetadata

public ContentTranslationManagerInterface::getTranslationMetadata(EntityInterface $translation) Returns an instance of the Content translation metadata. Parameters \Drupal\Core\Entity\EntityInterface $translation: The entity translation whose metadata needs to be retrieved. Return value \Drupal\content_translation\ContentTranslationMetadataWrapperInterface An instance of the content translation metadata. File core/modules/content_translation/src/ContentTranslationManagerInterface.php, line 51

DatabaseStorageExpirable::getAll

public DatabaseStorageExpirable::getAll() Returns all stored key/value pairs in the collection. Return value array An associative array containing all stored items in the collection. Overrides DatabaseStorage::getAll File core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php, line 61 Class DatabaseStorageExpirable Defines a default key/value store implementation for expiring items. Namespace Drupal\Core\KeyValueStore Code public function getAll() { $values = $this->conn

ViewExecutable::$base_database

Allow to override the used database which is used for this query. Type: bool File core/modules/views/src/ViewExecutable.php, line 253 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public $base_database = NULL;

BlockListBuilder::validateForm

public BlockListBuilder::validateForm(array &$form, FormStateInterface $form_state) Form validation handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::validateForm File core/modules/block/src/BlockListBuilder.php, line 350 Class BlockListBuilder Defines a class to build a listing of block entities. Namespace Drupal\block Code public fun

Container::getInfo

public Container::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/Container.php, line 46 Class Container Provides a render element that wraps child elements in a container. Namespace Drupal\Core\Re

BlockListBuilder::$request

The current request. Type: \Symfony\Component\HttpFoundation\Request File core/modules/block/src/BlockListBuilder.php, line 38 Class BlockListBuilder Defines a class to build a listing of block entities. Namespace Drupal\block Code protected $request;