DatabaseBackend::clear

public DatabaseBackend::clear($name, $identifier = NULL) Makes the flood control mechanism forget an event for the current visitor. Parameters string $name: The name of an event. string $identifier: (optional) Unique identifier of the current user. Defaults to the current user's IP address). Overrides FloodInterface::clear File core/lib/Drupal/Core/Flood/DatabaseBackend.php, line 95 Class DatabaseBackend Defines the database flood backend. This is the default Drupal backend. Namespace

MessageForm::$entity

The message being used by this form. Type: \Drupal\contact\MessageInterface Overrides EntityForm::$entity File core/modules/contact/src/MessageForm.php, line 23 Class MessageForm Form controller for contact message forms. Namespace Drupal\contact Code protected $entity;

ContentEntityBase::getRevisionId

public ContentEntityBase::getRevisionId() Gets the revision identifier of the entity. Return value The revision identifier of the entity, or NULL if the entity does not have a revision identifier. Overrides RevisionableInterface::getRevisionId File core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 331 Class ContentEntityBase Implements Entity Field API specific enhancements to the Entity class. Namespace Drupal\Core\Entity Code public function getRevisionId() { return $this-&g

Renderer::addCacheableDependency

public Renderer::addCacheableDependency(array &$elements, $dependency) Adds a dependency on an object: merges its cacheability metadata. For instance, when a render array depends on some configuration, an entity, or an access result, we must make sure their cacheability metadata is present on the render array. This method makes doing that simple. Parameters array &$elements: The render array to update. \Drupal\Core\Cache\CacheableDependencyInterface|mixed $dependency: The dependency. I

ConfigImporter::getNextConfigurationOperation

protected ConfigImporter::getNextConfigurationOperation() Gets the next configuration operation to perform. Return value array|bool An array containing the next operation and configuration name to perform it on. If there is nothing left to do returns FALSE; File core/lib/Drupal/Core/Config/ConfigImporter.php, line 682 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Code protected function getNextConfigurationOperation() { // The order configuratio

CustomPageExceptionHtmlSubscriber

Exception subscriber for handling core custom HTML error pages. Hierarchy class \Drupal\Core\EventSubscriber\HttpExceptionSubscriberBase implements EventSubscriberInterfaceclass \Drupal\Core\EventSubscriber\DefaultExceptionHtmlSubscriberclass \Drupal\Core\EventSubscriber\CustomPageExceptionHtmlSubscriber File core/lib/Drupal/Core/EventSubscriber/CustomPageExceptionHtmlSubscriber.php, line 20 Namespace Drupal\Core\EventSubscriber Members Name Modifiers Type Description Custom

WidgetBase::afterBuild

public static WidgetBase::afterBuild(array $element, FormStateInterface $form_state) After-build handler for field elements in a form. This stores the final location of the field within the form structure so that flagErrors() can assign validation errors to the right form element. File core/lib/Drupal/Core/Field/WidgetBase.php, line 255 Class WidgetBase Base class for 'Field widget' plugin implementations. Namespace Drupal\Core\Field Code public static function afterBuild(array $elemen

EntityType::$list_cache_contexts

The list cache contexts for this entity type. Type: string[] File core/lib/Drupal/Core/Entity/EntityType.php, line 246 Class EntityType Provides an implementation of an entity type and its metadata. Namespace Drupal\Core\Entity Code protected $list_cache_contexts = [];

LanguageNegotiator::getEnabledNegotiators

protected LanguageNegotiator::getEnabledNegotiators($type) Gets enabled detection methods for the provided language type. Parameters string $type: The language type. Return value array An array of enabled detection methods for the provided language type. File core/modules/language/src/LanguageNegotiator.php, line 165 Class LanguageNegotiator Class responsible for performing language negotiation. Namespace Drupal\language Code protected function getEnabledNegotiators($type) { return

AdminController::index

public AdminController::index() Prints a listing of admin tasks, organized by module. Return value array A render array containing the listing. File core/modules/system/src/Controller/AdminController.php, line 18 Class AdminController Controller for admin section. Namespace Drupal\system\Controller Code public function index() { $module_info = system_get_info('module'); foreach ($module_info as $module => $info) { $module_info[$module] = new \stdClass(); $module_info[$m