Query::execute

public Query::execute() Execute the query. Return value int|array Returns an integer for count queries or an array of ids. The values of the array are always entity ids. The keys will be revision ids if the entity supports revision and entity ids if not. Overrides QueryInterface::execute File core/lib/Drupal/Core/Entity/Query/Null/Query.php, line 18 Class Query Defines the entity query for configuration entities. Namespace Drupal\Core\Entity\Query\Null Code public function execute() {

QueryFactory::$configFactory

The config factory used by the config entity query. Type: \Drupal\Core\Config\ConfigFactoryInterface; File core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php, line 33 Class QueryFactory Provides a factory for creating entity query objects for the config backend. Namespace Drupal\Core\Config\Entity\Query Code protected $configFactory;

Textarea::valueCallback

public static Textarea::valueCallback(&$element, $input, FormStateInterface $form_state) Determines how user input is mapped to an element's #value property. Parameters array $element: An associative array containing the properties of the element. mixed $input: The incoming input to populate the form element. If this is FALSE, the element's default value should be returned. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value mixed The value to ass

FieldStorageDefinitionInterface::getSettings

public FieldStorageDefinitionInterface::getSettings() Returns the storage settings. Each field type defines the settings that are meaningful for that type. For example, a text field can define a 'max_length' setting, and an image field can define a 'alt_field_required' setting. The method always returns an array of all available settings for this field type, possibly with the default values merged in if values have not been provided for all available settings. Return value mixed[] An array of

ContentEntityBase::getTranslatedField

protected ContentEntityBase::getTranslatedField($name, $langcode) Gets a translated field. Return value \Drupal\Core\Field\FieldItemListInterface File core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 462 Class ContentEntityBase Implements Entity Field API specific enhancements to the Entity class. Namespace Drupal\Core\Entity Code protected function getTranslatedField($name, $langcode) { if ($this->translations[$this->activeLangcode]['status'] == static::TRANSLATION_REM

ModuleHandlerInterface::addProfile

public ModuleHandlerInterface::addProfile($name, $path) Adds an installation profile to the list of currently active modules. Parameters string $name: The profile name; e.g., 'standard'. string $path: The profile path; e.g., 'core/profiles/standard'. File core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php, line 96 Class ModuleHandlerInterface Interface for classes that manage a set of enabled modules. Namespace Drupal\Core\Extension Code public function addProfile($name, $path)

BookNavigationCacheContext

Defines the book navigation cache context service. Cache context ID: 'route.book_navigation'. This allows for book navigation location-aware caching. It depends on: whether the current route represents a book node at all and if so, where in the book hierarchy we are This class is container-aware to avoid initializing the 'book.manager' service when it is not necessary. Hierarchy class \Drupal\book\Cache\BookNavigationCacheContext implements CacheContextInterface, ContainerAwareInterface uses

DrupalKernel::getServiceProviders

public DrupalKernel::getServiceProviders($origin) Returns all registered service providers. Parameters string $origin: The origin for which to return service providers; one of 'app' or 'site'. Return value array An associative array of ServiceProvider objects, keyed by name. Overrides DrupalKernelInterface::getServiceProviders File core/lib/Drupal/Core/DrupalKernel.php, line 615 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code public

ModuleHandlerInterface::writeCache

public ModuleHandlerInterface::writeCache() Write the hook implementation info to the cache. File core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php, line 189 Class ModuleHandlerInterface Interface for classes that manage a set of enabled modules. Namespace Drupal\Core\Extension Code public function writeCache();

TwigExtension::setUrlGenerator

public TwigExtension::setUrlGenerator(UrlGeneratorInterface $url_generator) Sets the URL generator. Parameters \Drupal\Core\Routing\UrlGeneratorInterface $url_generator: The URL generator. Return value $this File core/lib/Drupal/Core/Template/TwigExtension.php, line 89 Class TwigExtension A class providing Drupal Twig extensions. Namespace Drupal\Core\Template Code public function setUrlGenerator(UrlGeneratorInterface $url_generator) { $this->urlGenerator = $url_generator; ret