ConfigTranslationFormBase::buildForm

public ConfigTranslationFormBase::buildForm(array $form, FormStateInterface $form_state, RouteMatchInterface $route_match = NULL, $plugin_id = NULL, $langcode = NULL) Implements \Drupal\Core\Form\FormInterface::buildForm(). Builds configuration form with metadata and values from the source language. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. \Drupal\Core\Routing\RouteMatchIn

UpdaterInterface::postUpdate

public UpdaterInterface::postUpdate() Actions to run after an update has occurred. File core/lib/Drupal/Core/Updater/UpdaterInterface.php, line 66 Class UpdaterInterface Defines an interface for a class which can update a Drupal project. Namespace Drupal\Core\Updater Code public function postUpdate();

ModerationStateTransitionDeleteForm::getQuestion

public ModerationStateTransitionDeleteForm::getQuestion() Returns the question to ask the user. Return value string The form question. The page title will be set to this value. Overrides ConfirmFormInterface::getQuestion File core/modules/content_moderation/src/Form/ModerationStateTransitionDeleteForm.php, line 17 Class ModerationStateTransitionDeleteForm Builds the form to delete Moderation state transition entities. Namespace Drupal\content_moderation\Form Code public function getQu

Select

Provides a form element for a drop-down menu or scrolling selection box. Properties: #options: An associative array, where the keys are the values for each option, and the values are the option labels to be shown in the drop-down list. If a value is an array, it will be rendered similarly, but as an optgroup. The key of the sub-array will be used as the label for the optgroup. Nesting optgroups is not allowed. #empty_option: The label that will be displayed to denote no selection. #empty_val

ContentEntityStorageBase

Base class for content entity storage handlers. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityStorageBase implements EntityHandlerInterface, EntityStorageInterfaceclass \Drupal\Core\Entity\ContentEntityStorageBase implements ContentEntityStorageInterface, DynamicallyFieldableEntityStorageInterface File core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php, line 14 Namespace Drupal\Core\E

OutputStrategyInterface::renderFromHtml

public static OutputStrategyInterface::renderFromHtml($string) Transforms a given HTML string into to a context-appropriate output string. This transformation consists of performing the formatting appropriate to a given output context (e.g., plain-text email subjects, HTML attribute values). Parameters string|object $string: An HTML string or an object with a ::__toString() magic method returning HTML markup. The source HTML markup is considered ready for output into HTML fragments and thus al

template_preprocess_comment

template_preprocess_comment(&$variables) Prepares variables for comment templates. Default template: comment.html.twig. Parameters array $variables: An associative array containing: elements: An associative array containing the comment and entity objects. Array keys: #comment, #commented_entity. File core/modules/comment/comment.module, line 621 Enables users to comment on published content. Code function template_preprocess_comment(&$variables) { /** @var \Drupal\comment\Commen

EntityDisplayBase::$bundle

Bundle to be displayed. Type: string File core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 43 Class EntityDisplayBase Provides a common base class for entity view and form displays. Namespace Drupal\Core\Entity Code protected $bundle;

Select::preRenderSelect

public static Select::preRenderSelect($element) Prepares a select render element. File core/lib/Drupal/Core/Render/Element/Select.php, line 170 Class Select Provides a form element for a drop-down menu or scrolling selection box. Namespace Drupal\Core\Render\Element Code public static function preRenderSelect($element) { Element::setAttributes($element, array('id', 'name', 'size')); static::setAttributes($element, array('form-select')); return $element; }

ThemeHandler

Default theme handler using the config system to store installation statuses. Hierarchy class \Drupal\Core\Extension\ThemeHandler implements ThemeHandlerInterface File core/lib/Drupal/Core/Extension/ThemeHandler.php, line 11 Namespace Drupal\Core\Extension Members Name Modifiers Type Description ThemeHandler::$configFactory protected property The config factory to get the installed themes. ThemeHandler::$configInstaller protected property The config installer to