Apcu4Backend

Stores cache items in the Alternative PHP Cache User Cache (APCu). This class is used with APCu versions >= 4.0.0 and < 5.0.0. Hierarchy class \Drupal\Core\Cache\ApcuBackend implements CacheBackendInterfaceclass \Drupal\Core\Cache\Apcu4Backend File core/lib/Drupal/Core/Cache/Apcu4Backend.php, line 10 Namespace Drupal\Core\Cache Members Name Modifiers Type Description Apcu4Backend::getIterator protected function Overrides ApcuBackend::getIterator ApcuBackend::$bi

AnonymousUserSession::__construct

public AnonymousUserSession::__construct() Constructs a new anonymous user session. Intentionally don't allow parameters to be passed in like UserSession. Overrides UserSession::__construct File core/lib/Drupal/Core/Session/AnonymousUserSession.php, line 15 Class AnonymousUserSession An account implementation representing an anonymous user. Namespace Drupal\Core\Session Code public function __construct() { }

AnonymousUserSession

An account implementation representing an anonymous user. Hierarchy class \Drupal\Core\Session\UserSession implements AccountInterfaceclass \Drupal\Core\Session\AnonymousUserSession File core/lib/Drupal/Core/Session/AnonymousUserSession.php, line 8 Namespace Drupal\Core\Session Members Name Modifiers Type Description AccountInterface::ANONYMOUS_ROLE constant Role ID for anonymous users. AccountInterface::AUTHENTICATED_ROLE constant Role ID for authenticated user

Annotations

Annotations for class discovery and metadata description. The Drupal plugin system has a set of reusable components that developers can use, override, and extend in their modules. Most of the plugins use annotations, which let classes register themselves as plugins and describe their metadata. (Annotations can also be used for other purposes, though at the moment, Drupal only uses them for the plugin system.) To annotate a class as a plugin, add code similar to the following to the end of the d

AnnotationInterface::setProvider

public AnnotationInterface::setProvider($provider) Sets the name of the provider of the annotated class. Parameters string $provider: File core/lib/Drupal/Component/Annotation/AnnotationInterface.php, line 27 Class AnnotationInterface Defines a common interface for classed annotations. Namespace Drupal\Component\Annotation Code public function setProvider($provider);

AnnotationInterface::setClass

public AnnotationInterface::setClass($class) Sets the class of the annotated class. Parameters string $class: File core/lib/Drupal/Component/Annotation/AnnotationInterface.php, line 48 Class AnnotationInterface Defines a common interface for classed annotations. Namespace Drupal\Component\Annotation Code public function setClass($class);

AnnotationInterface::getProvider

public AnnotationInterface::getProvider() Gets the name of the provider of the annotated class. Return value string File core/lib/Drupal/Component/Annotation/AnnotationInterface.php, line 20 Class AnnotationInterface Defines a common interface for classed annotations. Namespace Drupal\Component\Annotation Code public function getProvider();

AnnotationInterface::getId

public AnnotationInterface::getId() Gets the unique ID for this annotated class. Return value string File core/lib/Drupal/Component/Annotation/AnnotationInterface.php, line 34 Class AnnotationInterface Defines a common interface for classed annotations. Namespace Drupal\Component\Annotation Code public function getId();

AnnotationInterface::getClass

public AnnotationInterface::getClass() Gets the class of the annotated class. Return value string File core/lib/Drupal/Component/Annotation/AnnotationInterface.php, line 41 Class AnnotationInterface Defines a common interface for classed annotations. Namespace Drupal\Component\Annotation Code public function getClass();

AnnotationInterface::get

public AnnotationInterface::get() Gets the value of an annotation. File core/lib/Drupal/Component/Annotation/AnnotationInterface.php, line 13 Class AnnotationInterface Defines a common interface for classed annotations. Namespace Drupal\Component\Annotation Code public function get();