MaintenanceMode::__construct

public MaintenanceMode::__construct(StateInterface $state) Constructs a new maintenance mode service. Parameters \Drupal\Core\State\StateInterface $state: The state. File core/lib/Drupal/Core/Site/MaintenanceMode.php, line 27 Class MaintenanceMode Provides the default implementation of the maintenance mode service. Namespace Drupal\Core\Site Code public function __construct(StateInterface $state) { $this->state = $state; }

AccessAwareRouterInterface::ACCESS_RESULT

Attribute name of the access result for the request.. File core/lib/Drupal/Core/Routing/AccessAwareRouterInterface.php, line 17 Class AccessAwareRouterInterface Interface for a router class for Drupal with access check and upcasting. Namespace Drupal\Core\Routing Code const ACCESS_RESULT = '_access_result';

EntityResolverManager::$entityManager

The entity manager. Type: \Drupal\Core\Entity\EntityManagerInterface File core/lib/Drupal/Core/Entity/EntityResolverManager.php, line 21 Class EntityResolverManager Sets the entity route parameter converter options automatically. Namespace Drupal\Core\Entity Code protected $entityManager;

UserInterface::isBlocked

public UserInterface::isBlocked() Returns TRUE if the user is blocked. Return value bool TRUE if the user is blocked, false otherwise. File core/modules/user/src/UserInterface.php, line 136 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function isBlocked();

datetime_range_post_update_translatable_separator

datetime_range_post_update_translatable_separator() Clear caches to ensure schema changes are read. File core/modules/datetime_range/datetime_range.post_update.php, line 16 Post-update functions for Datetime Range module. Code function datetime_range_post_update_translatable_separator() { // Empty post-update hook to cause a cache rebuild. }

RefinableCacheableDependencyTrait::addCacheableDependency

public RefinableCacheableDependencyTrait::addCacheableDependency($other_object) Adds a dependency on an object: merges its cacheability metadata. Parameters \Drupal\Core\Cache\CacheableDependencyInterface|object $other_object: The dependency. If the object implements CacheableDependencyInterface, then its cacheability metadata will be used. Otherwise, the passed in object must be assumed to be uncacheable, so max-age 0 is set. Return value $this Overrides RefinableCacheableDependencyInterface

PlaceholderStrategyInterface::processPlaceholders

public PlaceholderStrategyInterface::processPlaceholders(array $placeholders) Processes placeholders to render them with different strategies. Parameters array $placeholders: The placeholders to process, with the keys being the markup for the placeholders and the values the corresponding render array describing the data to be rendered. Return value array The resulting placeholders, with a subset of the keys of $placeholders (and those being the markup for the placeholders) but with the corres

WidgetBase::extractFormValues

public WidgetBase::extractFormValues(FieldItemListInterface $items, array $form, FormStateInterface $form_state) Extracts field values from submitted form values. Parameters \Drupal\Core\Field\FieldItemListInterface $items: The field values. This parameter is altered by reference to receive the incoming form values. array $form: The form structure where field elements are attached to. This might be a full form structure, or a sub-element of a larger form. \Drupal\Core\Form\FormStateInterface $

PhpStreamWrapperInterface::unlink

public PhpStreamWrapperInterface::unlink($path) Return value bool File core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php, line 216 Class PhpStreamWrapperInterface Defines a generic PHP stream wrapper interface. Namespace Drupal\Core\StreamWrapper Code public function unlink($path);

Statement::__construct

protected Statement::__construct(Connection $dbh) File core/lib/Drupal/Core/Database/Statement.php, line 34 Class Statement Default implementation of StatementInterface. Namespace Drupal\Core\Database Code protected function __construct(Connection $dbh) { $this->dbh = $dbh; $this->setFetchMode(\PDO::FETCH_OBJ); }