BookManagerInterface::bookTreeCollectNodeLinks

public BookManagerInterface::bookTreeCollectNodeLinks(&$tree, &$node_links) Collects node links from a given menu tree recursively. Parameters array $tree: The menu tree you wish to collect node links from. array $node_links: An array in which to store the collected node links. File core/modules/book/src/BookManagerInterface.php, line 132 Class BookManagerInterface Provides an interface defining a book manager. Namespace Drupal\book Code public function bookTreeCollectNodeLink

ThemeNegotiatorInterface::determineActiveTheme

public ThemeNegotiatorInterface::determineActiveTheme(RouteMatchInterface $route_match) Determine the active theme for the request. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match object. Return value string|null The name of the theme, or NULL if other negotiators, like the configured default one, should be used instead. File core/lib/Drupal/Core/Theme/ThemeNegotiatorInterface.php, line 46 Class ThemeNegotiatorInterface Defines an interface for c

RdfMapping::$fieldMappings

The mappings for fields on this bundle. Type: array File core/modules/rdf/src/Entity/RdfMapping.php, line 63 Class RdfMapping Config entity for working with RDF mappings. Namespace Drupal\rdf\Entity Code protected $fieldMappings = array();

Entity::language

public Entity::language() Gets the language of the entity. Return value \Drupal\Core\Language\LanguageInterface The language object. Overrides EntityInterface::language File core/lib/Drupal/Core/Entity/Entity.php, line 346 Class Entity Defines a base entity class. Namespace Drupal\Core\Entity Code public function language() { if ($key = $this->getEntityType()->getKey('langcode')) { $langcode = $this->$key; $language = $this->languageManager()->getLanguage($lan

DateTimePlus::prepareTime

protected DateTimePlus::prepareTime($time) Prepares the input time value. Changes the input value before trying to use it, if necessary. Can be overridden to handle special cases. Parameters mixed $time: An input value, which could be a timestamp, a string, or an array of date parts. Return value mixed The massaged time. File core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 373 Class DateTimePlus Wraps DateTime(). Namespace Drupal\Component\Datetime Code protected function p

ConfigPrefixLengthException

Exception thrown when the config prefix length is exceeded. Hierarchy class \Drupal\Core\Config\ConfigException extends \RuntimeExceptionclass \Drupal\Core\Config\ConfigPrefixLengthException File core/lib/Drupal/Core/Config/ConfigPrefixLengthException.php, line 8 Namespace Drupal\Core\Config Members

CheckProviderInterface::addCheckService

public CheckProviderInterface::addCheckService($service_id, $service_method, array $applies_checks = array(), $needs_incoming_request = FALSE) Registers a new AccessCheck by service ID. Parameters string $service_id: The ID of the service in the Container that provides a check. string $service_method: The method to invoke on the service object for performing the check. array $applies_checks: (optional) An array of route requirement keys the checker service applies to. bool $needs_incoming_requ

Entity::urlRouteParameters

protected Entity::urlRouteParameters($rel) Gets an array of placeholders for this entity. Individual entity classes may override this method to add additional placeholders if desired. If so, they should be sure to replicate the property caching logic. Parameters string $rel: The link relationship type, for example: canonical or edit-form. Return value array An array of URI placeholders. File core/lib/Drupal/Core/Entity/Entity.php, line 304 Class Entity Defines a base entity class. Name

LanguageNegotiatorInterface::METHOD_ID

The language negotiation method id for the language negotiator itself. File core/modules/language/src/LanguageNegotiatorInterface.php, line 105 Class LanguageNegotiatorInterface Common interface for language negotiation services. Namespace Drupal\language Code const METHOD_ID = 'language-default';

RouteProvider::$tableName

The name of the SQL table from which to read the routes. Type: string File core/lib/Drupal/Core/Routing/RouteProvider.php, line 36 Class RouteProvider A Route Provider front-end for all Drupal-stored routes. Namespace Drupal\Core\Routing Code protected $tableName;