SwitchShortcutSet::$user

The account the shortcut set is for. Type: \Drupal\user\UserInterface File core/modules/shortcut/src/Form/SwitchShortcutSet.php, line 22 Class SwitchShortcutSet Builds the shortcut set switch form. Namespace Drupal\shortcut\Form Code protected $user;

ItemsImporter::$logger

A logger instance. Type: \Psr\Log\LoggerInterface File core/modules/aggregator/src/ItemsImporter.php, line 48 Class ItemsImporter Defines an importer of aggregator items. Namespace Drupal\aggregator Code protected $logger;

SwitchShortcutSet::exists

public SwitchShortcutSet::exists($id) Determines if a shortcut set exists already. Parameters string $id: The set ID to check. Return value bool TRUE if the shortcut set exists, FALSE otherwise. File core/modules/shortcut/src/Form/SwitchShortcutSet.php, line 148 Class SwitchShortcutSet Builds the shortcut set switch form. Namespace Drupal\shortcut\Form Code public function exists($id) { return (bool) $this->shortcutSetStorage->getQuery() ->condition('id', $id) ->

Tables::__construct

public Tables::__construct(SelectInterface $sql_query) Parameters \Drupal\Core\Database\Query\SelectInterface $sql_query: File core/lib/Drupal/Core/Entity/Query/Sql/Tables.php, line 56 Class Tables Adds tables and fields to the SQL entity query. Namespace Drupal\Core\Entity\Query\Sql Code public function __construct(SelectInterface $sql_query) { $this->sqlQuery = $sql_query; $this->entityManager = \Drupal::entityManager(); }

EntityViewDisplayInterface::build

public EntityViewDisplayInterface::build(FieldableEntityInterface $entity) Builds a renderable array for the components of an entity. See the buildMultiple() method for details. Parameters \Drupal\Core\Entity\FieldableEntityInterface $entity: The entity being displayed. Return value array A renderable array for the entity. See also \Drupal\Core\Entity\Display\EntityViewDisplayInterface::buildMultiple() File core/lib/Drupal/Core/Entity/Display/EntityViewDisplayInterface.php, line 25 Class

TermAccessControlHandler::checkCreateAccess

protected TermAccessControlHandler::checkCreateAccess(AccountInterface $account, array $context, $entity_bundle = NULL) Performs create access checks. This method is supposed to be overwritten by extending classes that do their own custom access checking. Parameters \Drupal\Core\Session\AccountInterface $account: The user for which to check access. array $context: An array of key-value pairs to pass additional context when needed. string|null $entity_bundle: (optional) The bundle of the entity

OpmlFeedAdd::submitForm

public OpmlFeedAdd::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 FormInterface::submitForm File core/modules/aggregator/src/Form/OpmlFeedAdd.php, line 111 Class OpmlFeedAdd Imports feeds from OPML. Namespace Drupal\aggregator\Form Code public function submitForm(array &

system_theme_suggestions_maintenance_page

system_theme_suggestions_maintenance_page(array $variables) Implements hook_theme_suggestions_HOOK(). File core/modules/system/system.module, line 279 Configuration system that lets administrators modify the workings of the site. Code function system_theme_suggestions_maintenance_page(array $variables) { $suggestions = array(); // Dead databases will show error messages so supplying this template will // allow themers to override the page and the content completely. $offline = define

EntityType::$admin_permission

The name of the default administrative permission. Type: string File core/lib/Drupal/Core/Entity/EntityType.php, line 89 Class EntityType Provides an implementation of an entity type and its metadata. Namespace Drupal\Core\Entity Code protected $admin_permission;

FieldStorageConfig::NAME_MAX_LENGTH

The maximum length of the field name, in characters. For fields created through Field UI, this includes the 'field_' prefix. File core/modules/field/src/Entity/FieldStorageConfig.php, line 51 Class FieldStorageConfig Defines the Field storage configuration entity. Namespace Drupal\field\Entity Code const NAME_MAX_LENGTH = 32;