ImageToolkitManager::getDefaultToolkit

public ImageToolkitManager::getDefaultToolkit() Gets the default image toolkit. Return value \Drupal\Core\ImageToolkit\ImageToolkitInterface Object of the default toolkit, or FALSE on error. File core/lib/Drupal/Core/ImageToolkit/ImageToolkitManager.php, line 73 Class ImageToolkitManager Manages image toolkit plugins. Namespace Drupal\Core\ImageToolkit Code public function getDefaultToolkit() { if ($toolkit_id = $this->getDefaultToolkitId()) { return $this->createInstance(

ContentPreprocess::preprocessNode

public ContentPreprocess::preprocessNode(array &$variables) Wrapper for hook_preprocess_HOOK(). Parameters array $variables: Theme variables to preprocess. File core/modules/content_moderation/src/ContentPreprocess.php, line 47 Class ContentPreprocess Determines whether a route is the "Latest version" tab of a node. Namespace Drupal\content_moderation Code public function preprocessNode(array &$variables) { // Set the 'page' template variable when the node is being displayed

LanguageConfigOverride::getLangcode

public LanguageConfigOverride::getLangcode() Returns the language code of this language override. Return value string The language code. File core/modules/language/src/Config/LanguageConfigOverride.php, line 89 Class LanguageConfigOverride Defines language configuration overrides. Namespace Drupal\language\Config Code public function getLangcode() { return $this->getLangcodeFromCollectionName($this->getStorage()->getCollectionName()); }

Diff

Class representing a 'diff' between two sequences of strings. @todo document @subpackage DifferenceEngine Copied from https://www.drupal.org/project/diff which was based PHP diff engine for phpwiki. (Taken from phpwiki-1.3.3) The original code in phpwiki was copyright (C) 2000, 2001 Geoffrey T. Dairiki <dairiki@dairiki.org> and licensed under GPL. Hierarchy class \Drupal\Component\Diff\Diff File core/lib/Drupal/Component/Diff/Diff.php, line 17 Namespace Drupal\Component\Diff Memb

FormState::has

public FormState::has($property) Determines if an arbitrary property is present. Parameters string $property: Properties are often stored as multi-dimensional associative arrays. If $property is a string, it will return isset($storage[$property]). If $property is an array, each element of the array will be used as a nested key. If $property = ['foo', 'bar'] it will return isset($storage['foo']['bar']). Overrides FormStateInterface::has File core/lib/Drupal/Core/Form/FormState.php, line 930

CommentForm::actions

protected CommentForm::actions(array $form, FormStateInterface $form_state) Returns an array of supported actions for the current entity form. @todo Consider introducing a 'preview' action here, since it is used by many entity types. Overrides EntityForm::actions File core/modules/comment/src/CommentForm.php, line 227 Class CommentForm Base handler for comment forms. Namespace Drupal\comment Code protected function actions(array $form, FormStateInterface $form_state) { $element = par

Condition::compile

public Condition::compile($conditionContainer) Compiles this conditional clause. Parameters $query: The query object this conditional clause belongs to. Overrides ConditionInterface::compile File core/lib/Drupal/Core/Entity/Query/Sql/Condition.php, line 25 Class Condition Implements entity query conditions for SQL databases. Namespace Drupal\Core\Entity\Query\Sql Code public function compile($conditionContainer) { // If this is not the top level condition group then the sql query i

BlockManagerInterface

Provides an interface for the discovery and instantiation of block plugins. Hierarchy interface \Drupal\Core\Plugin\Context\ContextAwarePluginManagerInterface; interface \Drupal\Component\Plugin\CategorizingPluginManagerInterfaceinterface \Drupal\Core\Block\BlockManagerInterface File core/lib/Drupal/Core/Block/BlockManagerInterface.php, line 11 Namespace Drupal\Core\Block Members Name Modifiers Type Description CategorizingPluginManagerInterface::getCategories public func

ConfigurableLanguageManager::setConfigOverrideLanguage

public ConfigurableLanguageManager::setConfigOverrideLanguage(LanguageInterface $language = NULL) This function is a noop since the configuration cannot be overridden by language unless the Language module is enabled. That replaces the default language manager with a configurable language manager. Overrides LanguageManager::setConfigOverrideLanguage See also \Drupal\language\ConfigurableLanguageManager::setConfigOverrideLanguage() File core/modules/language/src/ConfigurableLanguageManager.php

views-view-table.html.twig

Default theme implementation for displaying a view as a table. Available variables: attributes: Remaining HTML attributes for the element. class: HTML classes that can be used to style contextually through CSS. title : The title of this group of rows. header: The table header columns. attributes: Remaining HTML attributes for the element. content: HTML classes to apply to each header cell, indexed by the header's key. default_classes: A flag indicating whether default classes should be