Token::getInfo

public Token::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides Hidden::getInfo File core/lib/Drupal/Core/Render/Element/Token.php, line 22 Class Token Stores token data in a hidden form field. Namespace Drupal\Core\Render\Element Code public function getInfo() {

MaintenanceModeSubscriber::getSubscribedEvents

public static MaintenanceModeSubscriber::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', $priori

Language::isLocked

public Language::isLocked() Returns whether this language is locked. Return value bool Whether the language is locked or not. Overrides LanguageInterface::isLocked File core/lib/Drupal/Core/Language/Language.php, line 136 Class Language An object containing the information for an interface language. Namespace Drupal\Core\Language Code public function isLocked() { return (bool) $this->locked; }

FormStateDecoratorBase::setRedirectUrl

public FormStateDecoratorBase::setRedirectUrl(Url $url) Sets the redirect URL for the form. Parameters \Drupal\Core\Url $url: The URL to redirect to. Return value $this Overrides FormStateInterface::setRedirectUrl See also \Drupal\Core\Form\FormSubmitterInterface::redirectForm() File core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 601 Class FormStateDecoratorBase Decorates another form state. Namespace Drupal\Core\Form Code public function setRedirectUrl(Url $url) { $th

BreakpointManager::processDefinition

public BreakpointManager::processDefinition(&$definition, $plugin_id) Performs extra processing on plugin definitions. By default we add defaults for the type to the definition. If a type has additional processing logic they can do that by replacing or extending the method. Overrides DefaultPluginManager::processDefinition File core/modules/breakpoint/src/BreakpointManager.php, line 126 Class BreakpointManager Defines a breakpoint plugin manager to deal with breakpoints. Namespace D

FormCache::__construct

public FormCache::__construct($root, KeyValueExpirableFactoryInterface $key_value_expirable_factory, ModuleHandlerInterface $module_handler, AccountInterface $current_user, CsrfTokenGenerator $csrf_token, LoggerInterface $logger, RequestStack $request_stack, RequestPolicyInterface $request_policy) Constructs a new FormCache. Parameters string $root: The app root. \Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface $key_value_expirable_factory: The key value expirable factory, used to

LocaleDefaultConfigStorage

Provides access to default configuration for locale integration. Allows unified access to default configuration from one of three sources: Required default configuration (config/install/*) Optional default configuration (config/optional/*) Predefined languages mocked as default configuration (list defined in LocaleConfigManagerInterface::getStandardLanguageList()) These sources are considered equal in terms of how locale module interacts with them for translation. Their translatable source st

EntityListBuilder::buildRow

public EntityListBuilder::buildRow(EntityInterface $entity) Builds a row for an entity in the entity listing. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for this row of the list. Return value array A render array structure of fields for this entity. See also \Drupal\Core\Entity\EntityListBuilder::render() File core/lib/Drupal/Core/Entity/EntityListBuilder.php, line 184 Class EntityListBuilder Defines a generic implementation to build a listing of entities. Name

BlockAccessControlHandler::createInstance

public static BlockAccessControlHandler::createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) Instantiates a new instance of this entity handler. This is a factory method that returns a new instance of this object. The factory should pass any needed dependencies into the constructor of this object, but not the container itself. Every call to this method must return a new instance of this object; that is, it may not implement a singleton. Parameters \Symfony\Component

Delete::execute

public Delete::execute() Executes the DELETE query. Return value int The number of rows affected by the delete query. Overrides Query::execute File core/lib/Drupal/Core/Database/Query/Delete.php, line 48 Class Delete General class for an abstracted DELETE operation. Namespace Drupal\Core\Database\Query Code public function execute() { $values = array(); if (count($this->condition)) { $this->condition->compile($this->connection, $this); $values = $this->condi