AccessResult::resetCacheTags

public AccessResult::resetCacheTags() Resets cache tags (to the empty array). Return value $this File core/lib/Drupal/Core/Access/AccessResult.php, line 216 Class AccessResult Value object for passing an access result with cacheability metadata. Namespace Drupal\Core\Access Code public function resetCacheTags() { $this->cacheTags = []; return $this; }

BackendChain::get

public BackendChain::get($cid, $allow_invalid = FALSE) Returns data from the persistent cache. Parameters string $cid: The cache ID of the data to retrieve. bool $allow_invalid: (optional) If TRUE, a cache item may be returned even if it is expired or has been invalidated. Such items may sometimes be preferred, if the alternative is recalculating the value stored in the cache, especially if another concurrent request is already recalculating the same value. The "valid" property of the returned

FormState::addCleanValueKey

public FormState::addCleanValueKey($cleanValueKey) Adds a key to the array of form values that will be cleaned. Parameters string $key: The form value key to be cleaned. Return value $this Overrides FormStateInterface::addCleanValueKey File core/lib/Drupal/Core/Form/FormState.php, line 1187 Class FormState Stores information about the state of a form. Namespace Drupal\Core\Form Code public function addCleanValueKey($cleanValueKey) { $keys = $this->getCleanValueKeys(); $this-&g

PluralFormulaInterface::setPluralFormula

public PluralFormulaInterface::setPluralFormula($langcode, $plural_count, array $formula) Parameters string $langcode: The language code to get the formula for. int $plural_count: The number of plural forms. array $formula: An array of formulae. Return value self The PluralFormula object. File core/modules/locale/src/PluralFormulaInterface.php, line 21 Class PluralFormulaInterface An interface for a service providing plural formulae. Namespace Drupal\locale Code public function setPl

ContextualLinkDefault::getRouteName

public ContextualLinkDefault::getRouteName() Returns the route name of the contextual link. Return value string The name of the route this contextual link links to. Overrides ContextualLinkInterface::getRouteName File core/lib/Drupal/Core/Menu/ContextualLinkDefault.php, line 24 Class ContextualLinkDefault Provides a common base implementation of a contextual link. Namespace Drupal\Core\Menu Code public function getRouteName() { return $this->pluginDefinition['route_name']; }

RouteProviderInterface

Extends the router provider interface Hierarchy interface \Symfony\Cmf\Component\Routing\RouteProviderInterfaceinterface \Drupal\Core\Routing\RouteProviderInterface See also \Symfony\Cmf\Component\Routing File core/lib/Drupal/Core/Routing/RouteProviderInterface.php, line 12 Namespace Drupal\Core\Routing Members Name Modifiers Type Description RouteProviderInterface::getAllRoutes public function Returns all the routes on the system. RouteProviderInterface::getRouteByN

user_help

user_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/user/user.module, line 53 Enables the user registration and login system. Code function user_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.user': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The User module allows users to register, log in, and log out. It also allows users w

NodeStorageSchema

Defines the node schema handler. Hierarchy class \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema implements DynamicallyFieldableEntityStorageSchemaInterface uses DependencySerializationTraitclass \Drupal\node\NodeStorageSchema File core/modules/node/src/NodeStorageSchema.php, line 12 Namespace Drupal\node Members Name Modifiers Type Description DependencySerializationTrait::$_serviceIds protected property An array of service IDs keyed by property name used for ser

Query::$keyValueFactory

The key value factory. Type: \Drupal\Core\KeyValueStore\KeyValueFactoryInterface File core/lib/Drupal/Core/Entity/KeyValueStore/Query/Query.php, line 19 Class Query Defines the entity query for entities stored in a key value backend. Namespace Drupal\Core\Entity\KeyValueStore\Query Code protected $keyValueFactory;

AlterableInterface::hasAnyTag

public AlterableInterface::hasAnyTag() Determines if a given query has any specified tag. Parameters $tags: A variable number of arguments, one for each tag to check. Return value TRUE if this query has been marked with at least one of the specified tags, FALSE otherwise. File core/lib/Drupal/Core/Database/Query/AlterableInterface.php, line 60 Class AlterableInterface Interface for a query that can be manipulated via an alter hook. Namespace Drupal\Core\Database\Query Code public fun