ViewEditForm::__construct

public ViewEditForm::__construct(SharedTempStoreFactory $temp_store_factory, RequestStack $requestStack, DateFormatterInterface $date_formatter, ElementInfoManagerInterface $element_info) Constructs a new ViewEditForm object. Parameters \Drupal\user\SharedTempStoreFactory $temp_store_factory: The factory for the temp store object. \Symfony\Component\HttpFoundation\RequestStack $requestStack: The request stack object. \Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date Format

DataReferenceDefinition::createFromDataType

public static DataReferenceDefinition::createFromDataType($data_type) Creates a new data definition object. This method is typically used by \Drupal\Core\TypedData\TypedDataManager::createDataDefinition() to build a definition object for an arbitrary data type. When the definition class is known, it is recommended to directly use the static create() method on that class instead; e.g.: $map_definition = \Drupal\Core\TypedData\MapDataDefinition::create(); Parameters string $data_type: The dat

DrupalTranslator::getLocale

public DrupalTranslator::getLocale() Returns the current locale. Return value string The locale Overrides TranslatorInterface::getLocale File core/lib/Drupal/Core/Validation/DrupalTranslator.php, line 65 Class DrupalTranslator Translates strings using Drupal's translation system. Namespace Drupal\Core\Validation Code public function getLocale() { return $this->locale ? $this->locale : \Drupal::languageManager()->getCurrentLanguage()->getId(); }

Query::execute

abstract protected Query::execute() Runs the query against the database. Return value \Drupal\Core\Database\StatementInterface|null A prepared statement, or NULL if the query is not valid. File core/lib/Drupal/Core/Database/Query/Query.php, line 108 Class Query Base class for query builders. Namespace Drupal\Core\Database\Query Code abstract protected function execute();

ViewExecutable::getHandlers

public ViewExecutable::getHandlers($type, $display_id = NULL) Gets an array of handler instances for the current display. Parameters string $type: The type of handlers to retrieve. string $display_id: (optional) A specific display machine name to use. If NULL, the current display will be used. Return value array An array of handler instances of a given type for this display. File core/modules/views/src/ViewExecutable.php, line 2237 Class ViewExecutable Represents a view as a whole. Nam

OptionsProviderInterface::getSettableOptions

public OptionsProviderInterface::getSettableOptions(AccountInterface $account = NULL) Returns an array of settable values with labels for display. If the optional $account parameter is passed, then the array is filtered to values settable by the account. Parameters \Drupal\Core\Session\AccountInterface $account: (optional) The user account for which to filter the settable options. If omitted, all settable options are returned. Return value array An array of settable options for the object tha

DrupalKernelInterface::shutdown

public DrupalKernelInterface::shutdown() Shuts down the kernel. File core/lib/Drupal/Core/DrupalKernelInterface.php, line 27 Class DrupalKernelInterface The interface for DrupalKernel, the core of Drupal. Namespace Drupal\Core Code public function shutdown();

ContentEntityBase::$languages

Local cache for the available language objects. Type: \Drupal\Core\Language\LanguageInterface[] File core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 72 Class ContentEntityBase Implements Entity Field API specific enhancements to the Entity class. Namespace Drupal\Core\Entity Code protected $languages;

TwigTransTokenParser

A class that defines the Twig 'trans' token parser for Drupal. The token parser converts a token stream created from template source code into an Abstract Syntax Tree (AST). The AST will later be compiled into PHP code usable for runtime execution of the template. Hierarchy class \Twig_TokenParser implements \Twig_TokenParserInterface class \Drupal\Core\Template\TwigTransTokenParser See also \Twig_TokenParser http://twig.sensiolabs.org/doc/extensions/i18n.html https://github.com/fabpot/Twi

SearchQuery::NO_KEYWORD_MATCHES

Indicates that no positive keyword matches were found. See also SearchQuery::getStatus() File core/modules/search/src/SearchQuery.php, line 75 Class SearchQuery Search query extender and helper functions. Namespace Drupal\search Code const NO_KEYWORD_MATCHES = 8;