MenuTreeStorageInterface::loadSubtreeData

public MenuTreeStorageInterface::loadSubtreeData($id, $max_relative_depth = NULL) Loads a subtree rooted by the given ID. The returned links are structured like those from loadTreeData(). Parameters string $id: The menu link plugin ID. int $max_relative_depth: (optional) The maximum depth of child menu links relative to the passed in. Defaults to NULL, in which case the full subtree will be returned. Return value array An array with 2 elements: subtree: A fully built menu tree element or FAL

MemoryBackend::$requestStack

The request stack. Type: \Symfony\Component\HttpFoundation\RequestStack File core/lib/Drupal/Core/Flood/MemoryBackend.php, line 17 Class MemoryBackend Defines the memory flood backend. This is used for testing. Namespace Drupal\Core\Flood Code protected $requestStack;

NullStorage::createCollection

public NullStorage::createCollection($collection) Creates a collection on the storage. A configuration storage can contain multiple sets of configuration objects in partitioned collections. The collection name identifies the current collection used. Implementations of this method must provide a new instance to avoid side effects caused by the fact that Config objects have their storage injected. Parameters string $collection: The collection name. Valid collection names conform to the following

LocaleLookup::__construct

public LocaleLookup::__construct($langcode, $context, StringStorageInterface $string_storage, CacheBackendInterface $cache, LockBackendInterface $lock, ConfigFactoryInterface $config_factory, LanguageManagerInterface $language_manager, RequestStack $request_stack) Constructs a LocaleLookup object. Parameters string $langcode: The language code. string $context: The string context. \Drupal\locale\StringStorageInterface $string_storage: The string storage. \Drupal\Core\Cache\CacheBackendInterfac

Views::executableFactory

public static Views::executableFactory() Returns the view executable factory service. Return value \Drupal\views\ViewExecutableFactory Returns a views executable factory. File core/modules/views/src/Views.php, line 77 Class Views Static service container wrapper for views. Namespace Drupal\views Code public static function executableFactory() { return \Drupal::service('views.executable'); }

DrupalTranslator::processParameters

protected DrupalTranslator::processParameters(array $parameters) Processes the parameters array for use with t(). File core/lib/Drupal/Core/Validation/DrupalTranslator.php, line 72 Class DrupalTranslator Translates strings using Drupal's translation system. Namespace Drupal\Core\Validation Code protected function processParameters(array $parameters) { $return = array(); foreach ($parameters as $key => $value) { // We allow the values in the parameters to be safe string objec

ChainedFastBackendFactory

Defines the chained fast cache backend factory. Hierarchy class \Drupal\Core\Cache\ChainedFastBackendFactory implements CacheFactoryInterface uses ContainerAwareTrait File core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php, line 10 Namespace Drupal\Core\Cache Members Name Modifiers Type Description ChainedFastBackendFactory::$consistentServiceName protected property The service name of the consistent backend factory. ChainedFastBackendFactory::$fastServiceName

FilterFormat::disable

public FilterFormat::disable() Disables the configuration entity. Return value $this Overrides ConfigEntityBase::disable File core/modules/filter/src/Entity/FilterFormat.php, line 177 Class FilterFormat Represents a text format. Namespace Drupal\filter\Entity Code public function disable() { if ($this->isFallbackFormat()) { throw new \LogicException("The fallback text format '{$this->id()}' cannot be disabled."); } parent::disable(); // Allow modules to react on te

FormStateDecoratorBase::setError

public FormStateDecoratorBase::setError(array &$element, $message = '') Flags an element as having an error. Parameters array $element: The form element. string $message: (optional) The error message to present to the user. Return value $this Overrides FormStateInterface::setError File core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 633 Class FormStateDecoratorBase Decorates another form state. Namespace Drupal\Core\Form Code public function setError(array &$elemen

LanguageNegotiationMethodBase::$config

The configuration factory. Type: \Drupal\Core\Config\ConfigFactoryInterface File core/modules/language/src/LanguageNegotiationMethodBase.php, line 26 Class LanguageNegotiationMethodBase Base class for language negotiation methods. Namespace Drupal\language Code protected $config;