PoStreamReader::$_finished

Indicator of whether the stream reading is finished. Type: bool File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 91 Class PoStreamReader Implements Gettext PO stream reader. Namespace Drupal\Component\Gettext Code private $_finished;

ConditionInterface

An interface for condition plugins. Condition plugins are context-aware and configurable. They support the following keys in their plugin definitions: context: An array of context definitions, keyed by context name. Each context definition is a typed data definition describing the context. Check the typed data definition docs for details. configuration: An array of configuration option definitions, keyed by option name. Each option definition is a typed data definition describing the configur

UserLoginForm

Provides a user login form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\user\Form\UserLoginForm File core/modules/user/src/Form/UserLoginForm.php, line 16 Namespace Drupal\user\Form Members Name Modifiers Type Description DependencySerializationTrait::$_serviceIds prot

hook_tokens

hook_tokens($type, $tokens, array $data, array $options, \Drupal\Core\Render\BubbleableMetadata $bubbleable_metadata) Provide replacement values for placeholder tokens. This hook is invoked when someone calls \Drupal\Core\Utility\Token::replace(). That function first scans the text for [type:token] patterns, and splits the needed tokens into groups by type. Then hook_tokens() is invoked on each token-type group, allowing your module to respond by providing replacement text for any of the tokens

FormValidator::doValidateForm

protected FormValidator::doValidateForm(&$elements, FormStateInterface &$form_state, $form_id = NULL) Performs validation on form elements. First ensures required fields are completed, #maxlength is not exceeded, and selected options were in the list of options given to the user. Then calls user-defined validators. Parameters $elements: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. The current

ThemeInstaller::uninstall

public ThemeInstaller::uninstall(array $theme_list) Uninstalls a given list of themes. Uninstalling a theme removes all related configuration (like blocks) and invokes the 'themes_uninstalled' hook. Parameters array $theme_list: The themes to uninstall. Throws \InvalidArgumentException Thrown when you uninstall an not installed theme. Overrides ThemeInstallerInterface::uninstall See also hook_themes_uninstalled() File core/lib/Drupal/Core/Extension/ThemeInstaller.php, line 214 Class Them

Updater::postInstall

public Updater::postInstall() Performs actions after installation. File core/lib/Drupal/Core/Updater/Updater.php, line 388 Class Updater Defines the base class for Updaters used in Drupal. Namespace Drupal\Core\Updater Code public function postInstall() { }

ContentEntityInterface

Defines a common interface for all content entity objects. Content entities use fields for all their entity properties and are translatable and revisionable, while translations and revisions can be enabled per entity type. It's best practice to always implement ContentEntityInterface for content-like entities that should be stored in some database, and enable/disable revisions and translations as desired. When implementing this interface which extends Traversable, make sure to list IteratorAggr

WidgetBase

Base class for 'Field widget' plugin implementations. Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Field\PluginSettingsBase implements DependentPluginInterface, PluginSettingsInterfaceclass \Drupal\Core\Field\WidgetBase implements WidgetInterface uses AllowedTagsXssTrait Related topics Field Widget API De

ModulesListForm::$moduleHandler

The module handler service. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/modules/system/src/Form/ModulesListForm.php, line 43 Class ModulesListForm Provides module installation interface. Namespace Drupal\system\Form Code protected $moduleHandler;