BlockContentAccessControlHandler::checkAccess

protected BlockContentAccessControlHandler::checkAccess(EntityInterface $entity, $operation, AccountInterface $account) Performs access checks. This method is supposed to be overwritten by extending classes that do their own custom access checking. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for which to check access. string $operation: The entity operation. Usually one of 'view', 'view label', 'update' or 'delete'. \Drupal\Core\Session\AccountInterface $account: The use

MemoryBackend::register

public MemoryBackend::register($name, $window = 3600, $identifier = NULL) Registers an event for the current visitor to the flood control mechanism. Parameters string $name: The name of an event. To prevent unintended name clashes, it is recommended to use the module name first in the event name, optionally followed by a dot and the actual event name (e.g. "mymodule.my_event"). int $window: (optional) Number of seconds before this event expires. Defaults to 3600 (1 hour). Typically uses the sa

BlockContentForm::$blockContentTypeStorage

The custom block type storage. Type: \Drupal\Core\Entity\EntityStorageInterface File core/modules/block_content/src/BlockContentForm.php, line 30 Class BlockContentForm Form handler for the custom block edit forms. Namespace Drupal\block_content Code protected $blockContentTypeStorage;

Comment::getThread

public Comment::getThread() Returns the alphadecimal representation of the comment's place in a thread. Return value string The alphadecimal representation of the comment's place in a thread. Overrides CommentInterface::getThread File core/modules/comment/src/Entity/Comment.php, line 495 Class Comment Defines the comment entity class. Namespace Drupal\comment\Entity Code public function getThread() { $thread = $this->get('thread'); if (!empty($thread->value)) { return $t

NodeType::$type

The machine name of this node type. @todo Rename to $id. Type: string File core/modules/node/src/Entity/NodeType.php, line 56 Class NodeType Defines the Node type configuration entity. Namespace Drupal\node\Entity Code protected $type;

SystemController::systemAdminMenuBlockPage

public SystemController::systemAdminMenuBlockPage() Provides a single block from the administration menu as a page. File core/modules/system/src/Controller/SystemController.php, line 183 Class SystemController Returns responses for System routes. Namespace Drupal\system\Controller Code public function systemAdminMenuBlockPage() { return $this->systemManager->getBlockContents(); }

BlockInterface::getVisibilityConditions

public BlockInterface::getVisibilityConditions() Gets conditions for this block. Return value \Drupal\Core\Condition\ConditionInterface[]|\Drupal\Core\Condition\ConditionPluginCollection An array or collection of configured condition plugins. File core/modules/block/src/BlockInterface.php, line 68 Class BlockInterface Provides an interface defining a block entity. Namespace Drupal\block Code public function getVisibilityConditions();

ModulesListForm::$keyValueExpirable

The expirable key value store. Type: \Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface File core/modules/system/src/Form/ModulesListForm.php, line 50 Class ModulesListForm Provides module installation interface. Namespace Drupal\system\Form Code protected $keyValueExpirable;

FieldStorageAddForm::getFormId

public FieldStorageAddForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/field_ui/src/Form/FieldStorageAddForm.php, line 85 Class FieldStorageAddForm Provides a form for the "field storage" add page. Namespace Drupal\field_ui\Form Code public function getFormId() { return 'field_ui_field_storage_add_form'; }

UserAuthenticationController::$userAuth

The user authentication. Type: \Drupal\user\UserAuthInterface File core/modules/user/src/Controller/UserAuthenticationController.php, line 66 Class UserAuthenticationController Provides controllers for login, login status and logout via HTTP requests. Namespace Drupal\user\Controller Code protected $userAuth;