CacheContextsManager::$contexts

Available cache context IDs and corresponding labels. Type: string[] File core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php, line 37 Class CacheContextsManager Converts cache context tokens into cache keys. Namespace Drupal\Core\Cache\Context Code protected $contexts;

KeyValueStoreInterface::getAll

public KeyValueStoreInterface::getAll() Returns all stored key/value pairs in the collection. Return value array An associative array containing all stored items in the collection. File core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php, line 61 Class KeyValueStoreInterface Defines the interface for key/value store implementations. Namespace Drupal\Core\KeyValueStore Code public function getAll();

EntityInterface::language

public EntityInterface::language() Gets the language of the entity. Return value \Drupal\Core\Language\LanguageInterface The language object. File core/lib/Drupal/Core/Entity/EntityInterface.php, line 42 Class EntityInterface Defines a common interface for all entity objects. Namespace Drupal\Core\Entity Code public function language();

ContainerForm

Base form for container term edit forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\ContentEntityForm implements ContentEntityFormInterfaceclass \Drupal\taxonomy\TermFormclass \Drupal\forum\Form\ForumFormclass

RouteSubscriber::getViewsDisplayIDsWithRoute

protected RouteSubscriber::getViewsDisplayIDsWithRoute() Gets all the views and display IDs using a route. File core/modules/views/src/EventSubscriber/RouteSubscriber.php, line 90 Class RouteSubscriber Builds up the routes of all views. Namespace Drupal\views\EventSubscriber Code protected function getViewsDisplayIDsWithRoute() { if (!isset($this->viewsDisplayPairs)) { $this->viewsDisplayPairs = array(); // @todo Convert this method to some service. $views = $this-

ActiveLinkResponseFilter::getSubscribedEvents

public static ActiveLinkResponseFilter::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priorit

PhpStorageInterface::getFullPath

public PhpStorageInterface::getFullPath($name) Gets the full file path. Parameters string $name: The virtual file name. Can be a relative path. Return value string|false The full file path for the provided name. Return FALSE if the implementation needs to prevent access to the file. File core/lib/Drupal/Component/PhpStorage/PhpStorageInterface.php, line 87 Class PhpStorageInterface Stores and loads PHP code. Namespace Drupal\Component\PhpStorage Code public function getFullPath($name

Item

Provides a display-only form element with an optional title and description. Note: since this is a read-only field, setting the #required property will do nothing except theme the form element to look as if it were actually required (i.e. by placing a red star next to the #title). Plugin annotation @FormElement("item") Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerial

ActiveLinkResponseFilter::$pathMatcher

The path matcher. Type: \Drupal\Core\Path\PathMatcherInterface File core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php, line 44 Class ActiveLinkResponseFilter Subscribes to filter HTML responses, to set the 'is-active' class on links. Namespace Drupal\Core\EventSubscriber Code protected $pathMatcher;

SqlContentEntityStorage::getQueryServiceName

protected SqlContentEntityStorage::getQueryServiceName() Gets the name of the service for the query for this entity storage. Return value string The name of the service for the query for this entity storage. Overrides EntityStorageBase::getQueryServiceName File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 1072 Class SqlContentEntityStorage A content entity database storage implementation. Namespace Drupal\Core\Entity\Sql Code protected function getQueryServiceName