comment_field_config_update

comment_field_config_update(FieldConfigInterface $field) Implements hook_ENTITY_TYPE_update() for 'field_config'. File core/modules/comment/comment.module, line 160 Enables users to comment on published content. Code function comment_field_config_update(FieldConfigInterface $field) { if ($field->getType() == 'comment') { // Comment field settings also affects the rendering of *comment* entities, // not only the *commented* entities. \Drupal::entityManager()->getViewBuilder

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

Drupal::flood

public static Drupal::flood() Returns the flood instance. Return value \Drupal\Core\Flood\FloodInterface File core/lib/Drupal.php, line 461 Contains \Drupal. Class Drupal Static Service Container wrapper. Code public static function flood() { return static::getContainer()->get('flood'); }

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->

hook_node_search_result

hook_node_search_result(\Drupal\node\NodeInterface $node) Act on a node being displayed as a search result. This hook is invoked from the node search plugin during search execution, after loading and rendering the node. Parameters \Drupal\node\NodeInterface $node: The node being displayed in a search result. Return value array Extra information to be displayed with search result. This information should be presented as an associative array. It will be concatenated with the post information (l

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';

FormStateDecoratorBase::getUserInput

public &FormStateDecoratorBase::getUserInput() Returns the form values as they were submitted by the user. These are raw and unvalidated, so should not be used without a thorough understanding of security implications. In almost all cases, code should use self::getValues() and self::getValue() exclusively. Return value array An associative array of values submitted to the form. Overrides FormStateInterface::getUserInput File core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 496

ConfigImportForm::getFormId

public ConfigImportForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/config/src/Form/ConfigImportForm.php, line 45 Class ConfigImportForm Defines the configuration import form. Namespace Drupal\config\Form Code public function getFormId() { return 'config_import_form'; }

MenuLinkTree

Implements the loading, transforming and rendering of menu link trees. Hierarchy class \Drupal\Core\Menu\MenuLinkTree implements MenuLinkTreeInterface File core/lib/Drupal/Core/Menu/MenuLinkTree.php, line 15 Namespace Drupal\Core\Menu Members Name Modifiers Type Description MenuLinkTree::$controllerResolver protected property The controller resolver. MenuLinkTree::$menuActiveTrail protected property The active menu trail service. MenuLinkTree::$routeProvider