FormStateDecoratorBase::setValues

public FormStateDecoratorBase::setValues(array $values) Sets the submitted form values. This should be avoided, since these values have been validated already. Use self::setUserInput() instead. Parameters array $values: The multi-dimensional associative array of form values. Return value $this Overrides FormStateInterface::setValues File core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 526 Class FormStateDecoratorBase Decorates another form state. Namespace Drupal\Core\Form

ShortcutSet::$label

The human-readable name of the configuration entity. Type: string File core/modules/shortcut/src/Entity/ShortcutSet.php, line 59 Class ShortcutSet Defines the Shortcut set configuration entity. Namespace Drupal\shortcut\Entity Code protected $label;

RoutePreloader::onAlterRoutes

public RoutePreloader::onAlterRoutes(RouteBuildEvent $event) Alters existing routes for a specific collection. Parameters \Drupal\Core\Routing\RouteBuildEvent $event: The route build event. File core/lib/Drupal/Core/Routing/RoutePreloader.php, line 99 Class RoutePreloader Defines a class which preloads non-admin routes. Namespace Drupal\Core\Routing Code public function onAlterRoutes(RouteBuildEvent $event) { $collection = $event->getRouteCollection(); foreach ($collection->

StatementInterface::getQueryString

public StatementInterface::getQueryString() Gets the query string of this statement. Return value The query string, in its form with placeholders. File core/lib/Drupal/Core/Database/StatementInterface.php, line 62 Class StatementInterface Represents a prepared statement. Namespace Drupal\Core\Database Code public function getQueryString();

StorageComparerInterface::getSourceStorage

public StorageComparerInterface::getSourceStorage($collection = StorageInterface::DEFAULT_COLLECTION) Gets the configuration source storage. Parameters string $collection: (optional) The storage collection to use. Defaults to the default collection. Return value \Drupal\Core\Config\StorageInterface Storage object used to read configuration. File core/lib/Drupal/Core/Config/StorageComparerInterface.php, line 20 Class StorageComparerInterface Defines an interface for comparison of configur

Url::urlGenerator

protected Url::urlGenerator() Gets the URL generator. Return value \Drupal\Core\Routing\UrlGeneratorInterface The URL generator. File core/lib/Drupal/Core/Url.php, line 825 Class Url Defines an object that holds information about a URL. Namespace Drupal\Core Code protected function urlGenerator() { if (!$this->urlGenerator) { $this->urlGenerator = \Drupal::urlGenerator(); } return $this->urlGenerator; }

UrlGeneratorTrait::getUrlGenerator

protected UrlGeneratorTrait::getUrlGenerator() Returns the URL generator service. Return value \Drupal\Core\Routing\UrlGeneratorInterface The URL generator service. File core/lib/Drupal/Core/Routing/UrlGeneratorTrait.php, line 73 Class UrlGeneratorTrait Wrapper methods for the Url Generator. Namespace Drupal\Core\Routing Code protected function getUrlGenerator() { if (!$this->urlGenerator) { $this->urlGenerator = \Drupal::service('url_generator'); } return $this->ur

VocabularyForm

Base form for vocabulary edit forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\BundleEntityFormBaseclass \Drupal\taxonomy\VocabularyForm File core/modules/taxonomy/src/VocabularyForm.php, line 15 Name

EntityViewBuilderInterface::viewFieldItem

public EntityViewBuilderInterface::viewFieldItem(FieldItemInterface $item, $display_options = array()) Builds a renderable array for a single field item. Parameters \Drupal\Core\Field\FieldItemInterface $item: FieldItem to be displayed. string|array $display_options: Can be either the name of a view mode, or an array of display settings. See EntityViewBuilderInterface::viewField() for more information. Return value array A renderable array for the field item. See also \Drupal\Core\Entity\Ent

SearchBlockForm::$renderer

The renderer. Type: \Drupal\Core\Render\RendererInterface File core/modules/search/src/Form/SearchBlockForm.php, line 36 Class SearchBlockForm Builds the search form for the search block. Namespace Drupal\search\Form Code protected $renderer;