Checkboxes::valueCallback

public static Checkboxes::valueCallback(&$element, $input, FormStateInterface $form_state) Determines how user input is mapped to an element's #value property. Parameters array $element: An associative array containing the properties of the element. mixed $input: The incoming input to populate the form element. If this is FALSE, the element's default value should be returned. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value mixed The value to a

DblogFilterForm::validateForm

public DblogFilterForm::validateForm(array &$form, FormStateInterface $form_state) Form validation handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormBase::validateForm File core/modules/dblog/src/Form/DblogFilterForm.php, line 66 Class DblogFilterForm Provides the database logging filter form. Namespace Drupal\dblog\Form Code public function vali

DisplayVariant::$admin_label

The administrative label. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/lib/Drupal/Core/Display/Annotation/DisplayVariant.php, line 51 Class DisplayVariant Defines a display variant annotation object. Namespace Drupal\Core\Display\Annotation Code public $admin_label = '';

CommentStorageInterface::getUnapprovedCount

public CommentStorageInterface::getUnapprovedCount() Returns the number of unapproved comments. Return value int The number of unapproved comments. File core/modules/comment/src/CommentStorageInterface.php, line 111 Class CommentStorageInterface Defines an interface for comment entity storage classes. Namespace Drupal\comment Code public function getUnapprovedCount();

TranslatableMarkup::$options

The translation options. Type: array File core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php, line 45 Class TranslatableMarkup Provides translatable markup class. Namespace Drupal\Core\StringTranslation Code protected $options;

ContainerBuilder::__construct

public ContainerBuilder::__construct(ParameterBagInterface $parameterBag = NULL) Constructor. Parameters ParameterBagInterface $parameterBag A ParameterBagInterface instance: Overrides Container::__construct File core/lib/Drupal/Core/DependencyInjection/ContainerBuilder.php, line 29 Class ContainerBuilder Drupal's dependency injection container builder. Namespace Drupal\Core\DependencyInjection Code public function __construct(ParameterBagInterface $parameterBag = NULL) { $this->

FormStateDecoratorBase::isSubmitted

public FormStateDecoratorBase::isSubmitted() Determines if the form has been submitted. Return value bool TRUE if the form has been submitted, FALSE otherwise. Overrides FormStateInterface::isSubmitted File core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 324 Class FormStateDecoratorBase Decorates another form state. Namespace Drupal\Core\Form Code public function isSubmitted() { return $this->decoratedFormState->isSubmitted(); }

SiteConfigureForm::submitForm

public SiteConfigureForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides ConfigFormBase::submitForm File core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php, line 259 Class SiteConfigureForm Provides the site configuration form. Namespace Drupal\Core\Installer\Form Code

InstallStorage::CONFIG_INSTALL_DIRECTORY

Extension sub-directory containing default configuration for installation. File core/lib/Drupal/Core/Config/InstallStorage.php, line 24 Class InstallStorage Storage used by the Drupal installer. Namespace Drupal\Core\Config Code const CONFIG_INSTALL_DIRECTORY = 'config/install';

views_views_query_substitutions

views_views_query_substitutions(ViewExecutable $view) Implements hook_views_query_substitutions(). Makes the following substitutions: Current time. Drupal version. Special language codes; see \Drupal\views\Plugin\views\PluginBase::listLanguages(). File core/modules/views/views.views_execution.inc, line 20 Provides views runtime hooks for views.module. Code function views_views_query_substitutions(ViewExecutable $view) { $substitutions = array( '***CURRENT_VERSION***' => \Drupal::VE