FormErrorHandler::__construct

public FormErrorHandler::__construct(TranslationInterface $string_translation, LinkGeneratorInterface $link_generator, RendererInterface $renderer) Constructs a new FormErrorHandler. Parameters \Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation service. \Drupal\Core\Utility\LinkGeneratorInterface $link_generator: The link generation service. \Drupal\Core\Render\RendererInterface $renderer: The renderer service. File core/modules/inline_form_errors/s

AlterableInterface::addTag

public AlterableInterface::addTag($tag) Adds a tag to a query. Tags are strings that identify a query. A query may have any number of tags. Tags are used to mark a query so that alter hooks may decide if they wish to take action. Tags should be all lower-case and contain only letters, numbers, and underscore, and start with a letter. That is, they should follow the same rules as PHP identifiers in general. Parameters $tag: The tag to add. Return value \Drupal\Core\Database\Query\AlterableInte

ModuleHandlerInterface

Interface for classes that manage a set of enabled modules. Classes implementing this interface work with a fixed list of modules and are responsible for loading module files and maintaining information about module dependencies and hook implementations. Hierarchy interface \Drupal\Core\Extension\ModuleHandlerInterface File core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php, line 12 Namespace Drupal\Core\Extension Members Name Modifiers Type Description ModuleHandlerInt

views-ui-view-preview-section.html.twig

Default theme implementation for a views UI preview section. Available variables: title: The human readable section title. links: A list of contextual links. content: The content for this section preview. See also template_preprocess_views_ui_view_preview_section() File core/modules/views_ui/templates/views-ui-view-preview-section.html.twig Related topics Theme system overview Functions and templates for the user interface that themes can override.

BaseFieldOverride::preSave

public BaseFieldOverride::preSave(EntityStorageInterface $storage) Throws \Drupal\Core\Field\FieldException If the bundle is being changed. Overrides ConfigEntityBase::preSave File core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php, line 163 Class BaseFieldOverride Defines the base field override entity. Namespace Drupal\Core\Field\Entity Code public function preSave(EntityStorageInterface $storage) { // Filter out unknown settings and make sure all settings are present, so /

PhpTransliteration::replace

protected PhpTransliteration::replace($code, $langcode, $unknown_character) Replaces a single Unicode character using the transliteration database. Parameters int $code: The character code of a Unicode character. string $langcode: The language code of the language the character is in. string $unknown_character: The character to substitute for characters without transliterated equivalents. Return value string US-ASCII replacement character. If it has a mapping, it is returned; otherwise, $unkn

MenuLinkTree::$treeStorage

The menu link tree storage. Type: \Drupal\Core\Menu\MenuTreeStorageInterface File core/lib/Drupal/Core/Menu/MenuLinkTree.php, line 22 Class MenuLinkTree Implements the loading, transforming and rendering of menu link trees. Namespace Drupal\Core\Menu Code protected $treeStorage;

AccessResultInterface::isForbidden

public AccessResultInterface::isForbidden() Checks whether this access result indicates access is explicitly forbidden. This is a kill switch — both orIf() and andIf() will result in isForbidden() if either results are isForbidden(). Return value bool When TRUE then isAllowed() and isNeutral() are FALSE. File core/lib/Drupal/Core/Access/AccessResultInterface.php, line 40 Class AccessResultInterface Interface for access result value objects. Namespace Drupal\Core\Access Code public fun

TranslatableInterface::language

public TranslatableInterface::language() Returns the translation language. Return value \Drupal\Core\Language\LanguageInterface The language object. File core/lib/Drupal/Core/TypedData/TranslatableInterface.php, line 16 Class TranslatableInterface Interface for translatable data. Namespace Drupal\Core\TypedData Code public function language();

Upsert::execute

public Upsert::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. Overrides Upsert::execute File core/lib/Drupal/Core/Database/Driver/pgsql/Upsert.php, line 15 Class Upsert PostgreSQL implementation of \Drupal\Core\Database\Query\Upsert. Namespace Drupal\Core\Database\Driver\pgsql Code public function execute() { if (!$this->preExecute()) { return NULL; } // De