CommentManager::$currentUser

The current user. Type: \Drupal\Core\Session\AccountInterface File core/modules/comment/src/CommentManager.php, line 67 Class CommentManager Comment manager contains common functions to manage comment fields. Namespace Drupal\comment Code protected $currentUser;

ToolbarController::checkSubTreeAccess

public ToolbarController::checkSubTreeAccess($hash) Checks access for the subtree controller. Parameters string $hash: The hash of the toolbar subtrees. Return value \Drupal\Core\Access\AccessResultInterface The access result. File core/modules/toolbar/src/Controller/ToolbarController.php, line 50 Class ToolbarController Defines a controller for the toolbar module. Namespace Drupal\toolbar\Controller Code public function checkSubTreeAccess($hash) { $expected_hash = _toolbar_get_sub

Delete::__construct

public Delete::__construct(Connection $connection, $table, array $options = array()) Constructs a Delete object. Parameters \Drupal\Core\Database\Connection $connection: A Connection object. string $table: Name of the table to associate with this query. array $options: Array of database options. Overrides Query::__construct File core/lib/Drupal/Core/Database/Query/Delete.php, line 34 Class Delete General class for an abstracted DELETE operation. Namespace Drupal\Core\Database\Query Co

ViewExecutable::getRequest

public ViewExecutable::getRequest() Gets the request object. Return value \Symfony\Component\HttpFoundation\Request The request object. File core/modules/views/src/ViewExecutable.php, line 1801 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function getRequest() { return $this->request; }

RestResourceConfig::$id

The REST resource config id. Type: string File core/modules/rest/src/Entity/RestResourceConfig.php, line 36 Class RestResourceConfig Defines a RestResourceConfig configuration entity class. Namespace Drupal\rest\Entity Code protected $id;

MemoryCounterBackend::delete

public MemoryCounterBackend::delete($cid) Deletes an item from the cache. If the cache item is being deleted because it is no longer "fresh", you may consider using invalidate() instead. This allows callers to retrieve the invalid item by calling get() with $allow_invalid set to TRUE. In some cases an invalid item may be acceptable rather than having to rebuild the cache. Parameters string $cid: The cache ID to delete. Overrides MemoryBackend::delete See also \Drupal\Core\Cache\CacheBackendIn

LanguageConfigFactoryOverrideInterface::installLanguageOverrides

public LanguageConfigFactoryOverrideInterface::installLanguageOverrides($langcode) Installs available language configuration overrides for a given langcode. Parameters string $langcode: Language code. File core/modules/language/src/Config/LanguageConfigFactoryOverrideInterface.php, line 72 Class LanguageConfigFactoryOverrideInterface Defines the interface for a configuration factory language override object. Namespace Drupal\language\Config Code public function installLanguageOverride

FormStateInterface::hasInvalidToken

public FormStateInterface::hasInvalidToken() Determines if the form has an invalid token. Return value bool TRUE if the form has an invalid token, FALSE otherwise. File core/lib/Drupal/Core/Form/FormStateInterface.php, line 574 Class FormStateInterface Provides an interface for an object containing the current state of a form. Namespace Drupal\Core\Form Code public function hasInvalidToken();

SelectExtender::isNull

SelectExtender::isNull($field) Sets a condition that the specified field be NULL. Parameters $field: The name of the field to check. Return value \Drupal\Core\Database\Query\ConditionInterface The called object. Overrides ConditionInterface::isNull File core/lib/Drupal/Core/Database/Query/SelectExtender.php, line 443 Class SelectExtender The base extender class for Select queries. Namespace Drupal\Core\Database\Query Code function isNull($field) { $this->query->isNull($field)

TermStorageInterface::loadTree

public TermStorageInterface::loadTree($vid, $parent = 0, $max_depth = NULL, $load_entities = FALSE) Finds all terms in a given vocabulary ID. Parameters string $vid: Vocabulary ID to retrieve terms for. int $parent: The term ID under which to generate the tree. If 0, generate the tree for the entire vocabulary. int $max_depth: The number of levels of the tree to return. Leave NULL to return all levels. bool $load_entities: If TRUE, a full entity load will occur on the term objects. Otherwise t