Block::calculateDependencies

public Block::calculateDependencies() Calculates dependencies and stores them in the dependency property. Return value $this Overrides ConfigEntityBase::calculateDependencies See also \Drupal\Core\Config\Entity\ConfigDependencyManager File core/modules/block/src/Entity/Block.php, line 226 Class Block Defines a Block configuration entity class. Namespace Drupal\block\Entity Code public function calculateDependencies() { parent::calculateDependencies(); $this->addDependency('the

MenuLinkTreeInterface::load

public MenuLinkTreeInterface::load($menu_name, MenuTreeParameters $parameters) Loads a menu tree with a menu link plugin instance at each element. Parameters string $menu_name: The name of the menu. \Drupal\Core\Menu\MenuTreeParameters $parameters: The parameters to determine which menu links to be loaded into a tree. Return value \Drupal\Core\Menu\MenuLinkTreeElement[] A menu link tree. File core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php, line 61 Class MenuLinkTreeInterface Defines

ConditionAggregate::exists

public ConditionAggregate::exists($field, $function, $langcode = NULL) Queries for the existence of a field. Parameters $field: string $langcode: Return value ConditionInterface Overrides ConditionAggregateInterface::exists See also \Drupal\Core\Entity\Query\QueryInterface::exists() File core/lib/Drupal/Core/Entity/Query/Sql/ConditionAggregate.php, line 50 Class ConditionAggregate Defines the aggregate condition for sql based storage. Namespace Drupal\Core\Entity\Query\Sql Code publ

UpdateManagerInstall

Configure update settings for this site. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\update\Form\UpdateManagerInstall File core/modules/update/src/Form/UpdateManagerInstall.php, line 16 Namespace Drupal\update\Form Members Name Modifiers Type Description DependencySerial

QuickEditFieldForm::$moduleHandler

The module handler. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/modules/quickedit/src/Form/QuickEditFieldForm.php, line 34 Class QuickEditFieldForm Builds and process a form for editing a single entity field. Namespace Drupal\quickedit\Form Code protected $moduleHandler;

Settings::getHashSalt

public static Settings::getHashSalt() Gets a salt useful for hardening against SQL injection. Return value string A salt based on information in settings.php, not in the database. Throws \RuntimeException File core/lib/Drupal/Core/Site/Settings.php, line 134 Class Settings Read only settings that are initialized with the class. Namespace Drupal\Core\Site Code public static function getHashSalt() { $hash_salt = self::$instance->get('hash_salt'); // This should never happen, as

FormStateInterface::getErrors

public FormStateInterface::getErrors() Returns an associative array of all errors. Return value array An array of all errors, keyed by the name of the form element. File core/lib/Drupal/Core/Form/FormStateInterface.php, line 524 Class FormStateInterface Provides an interface for an object containing the current state of a form. Namespace Drupal\Core\Form Code public function getErrors();

ConfirmDeleteMultiple::getCancelUrl

public ConfirmDeleteMultiple::getCancelUrl() Returns the route to go to if the user cancels the action. Return value \Drupal\Core\Url A URL object. Overrides ConfirmFormInterface::getCancelUrl File core/modules/comment/src/Form/ConfirmDeleteMultiple.php, line 67 Class ConfirmDeleteMultiple Provides the comment multiple delete confirmation form. Namespace Drupal\comment\Form Code public function getCancelUrl() { return new Url('comment.admin'); }

forum-icon.html.twig

Default theme implementation to display a status icon for a forum post. Available variables: attributes: HTML attributes to be applied to the wrapper element. class: HTML classes that determine which icon to display. May be one of 'hot', 'hot-new', 'new', 'default', 'closed', or 'sticky'. title: Text alternative for the forum icon. icon_title: Text alternative for the forum icon, same as above. new_posts: '1' when this topic contains new posts, otherwise '0'. first_new: '1' when this is

Rearrange::__construct

public Rearrange::__construct($type = NULL) Constructs a new Rearrange object. File core/modules/views_ui/src/Form/Ajax/Rearrange.php, line 19 Class Rearrange Provides a rearrange form for Views handlers. Namespace Drupal\views_ui\Form\Ajax Code public function __construct($type = NULL) { $this->setType($type); }