EntityDisplayBase

Provides a common base class for entity view and form displays. Hierarchy class \Drupal\Core\Entity\Entity implements EntityInterface uses RefinableCacheableDependencyTrait, DependencySerializationTraitclass \Drupal\Core\Config\Entity\ConfigEntityBase implements ConfigEntityInterface uses PluginDependencyTraitclass \Drupal\Core\Entity\EntityDisplayBase implements EntityDisplayInterface File core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 13 Namespace Drupal\Core\Entity Member

system_preprocess_block

system_preprocess_block(&$variables) Implements hook_preprocess_HOOK() for block templates. File core/modules/system/system.module, line 827 Configuration system that lets administrators modify the workings of the site. Code function system_preprocess_block(&$variables) { switch ($variables['base_plugin_id']) { case 'system_branding_block': $variables['site_logo'] = ''; if ($variables['content']['site_logo']['#access'] && $variables['content']['site_logo']['#

ModulesUninstallConfirmForm

Builds a confirmation form to uninstall selected modules. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Form\ConfirmFormBase implements ConfirmFormInterfaceclass \Drupal\system\Form\ModulesUninstallConfirmForm uses ConfigDependencyDeleteFormTrait File core/modules/system/src/Form/M

Tasks::installable

public Tasks::installable() Check whether Drupal is installable on the database. File core/lib/Drupal/Core/Database/Install/Tasks.php, line 106 Class Tasks Database installer structure. Namespace Drupal\Core\Database\Install Code public function installable() { return $this->hasPdoDriver() && empty($this->error); }

StateTransitionValidation::calculatePossibleTransitions

protected StateTransitionValidation::calculatePossibleTransitions() Computes a mapping of possible transitions. This method is uncached and will recalculate the list on every request. In most cases you want to use getPossibleTransitions() instead. Return value array[] An array containing all possible transitions. Each entry is keyed by the "from" state, and the value is an array of all legal "to" states based on the currently defined transition objects. See also static::getPossibleTransitions

FormStateDecoratorBase::isBypassingProgrammedAccessChecks

public FormStateDecoratorBase::isBypassingProgrammedAccessChecks() Determines if this form submission should bypass #access. Return value bool Overrides FormStateInterface::isBypassingProgrammedAccessChecks See also \Drupal\Core\Form\FormState::$programmed_bypass_access_check File core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 251 Class FormStateDecoratorBase Decorates another form state. Namespace Drupal\Core\Form Code public function isBypassingProgrammedAccessChecks()

hook_toolbar_alter

hook_toolbar_alter(&$items) Alter the toolbar menu after hook_toolbar() is invoked. This hook is invoked by toolbar_view() immediately after hook_toolbar(). The toolbar definitions are passed in by reference. Each element of the $items array is one item returned by a module from hook_toolbar(). Additional items may be added, or existing items altered. Parameters $items: Associative array of toolbar menu definitions returned from hook_toolbar(). Related topics Hooks Define functions that al

DefaultHtmlRouteProvider::getDeleteFormRoute

protected DefaultHtmlRouteProvider::getDeleteFormRoute(EntityTypeInterface $entity_type) Gets the delete-form route. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type. Return value \Symfony\Component\Routing\Route|null The generated route, if available. File core/lib/Drupal/Core/Entity/Routing/DefaultHtmlRouteProvider.php, line 283 Class DefaultHtmlRouteProvider Provides HTML routes for entities. Namespace Drupal\Core\Entity\Routing Code protected funct

OpenDialogCommand::$title

The title of the dialog. Type: string File core/lib/Drupal/Core/Ajax/OpenDialogCommand.php, line 28 Class OpenDialogCommand Defines an AJAX command to open certain content in a dialog. Namespace Drupal\Core\Ajax Code protected $title;

ViewUI::$changed

If this view has been changed. Type: bool File core/modules/views_ui/src/ViewUI.php, line 64 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public $changed;