Upsert::__toString

public Upsert::__toString() Implements PHP magic __toString method to convert the query to a string. The toString operation is how we compile a query object to a prepared statement. Return value string A prepared statement query string for this object. Overrides Query::__toString File core/lib/Drupal/Core/Database/Driver/pgsql/Upsert.php, line 79 Class Upsert PostgreSQL implementation of \Drupal\Core\Database\Query\Upsert. Namespace Drupal\Core\Database\Driver\pgsql Code public functi

Cookie::authenticate

public Cookie::authenticate(Request $request) Authenticates the user. Parameters \Symfony\Component\HttpFoundation\Request|null $request: The request object. Return value \Drupal\Core\Session\AccountInterface|null AccountInterface - in case of a successful authentication. NULL - in case where authentication failed. Overrides AuthenticationProviderInterface::authenticate File core/modules/user/src/Authentication/Provider/Cookie.php, line 55 Class Cookie Cookie based authentication provide

ConfigEntityStorageClassException

Thrown when a storage class is not an instance of ConfigEntityStorage. Hierarchy class \Drupal\Core\Config\ConfigException extends \RuntimeExceptionclass \Drupal\Core\Config\Entity\Exception\ConfigEntityStorageClassException File core/lib/Drupal/Core/Config/Entity/Exception/ConfigEntityStorageClassException.php, line 10 Namespace Drupal\Core\Config\Entity\Exception Members

EntityTypeInterface::getGroupLabel

public EntityTypeInterface::getGroupLabel() Gets the human-readable name of the entity type group. Return value string File core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 690 Class EntityTypeInterface Provides an interface for an entity type and its metadata. Namespace Drupal\Core\Entity Code public function getGroupLabel();

InvalidLookupKeyException

Exception thrown when a config entity uses an invalid lookup key. Hierarchy class \Drupal\Core\Config\Entity\Query\InvalidLookupKeyException extends \LogicException File core/lib/Drupal/Core/Config/Entity/Query/InvalidLookupKeyException.php, line 8 Namespace Drupal\Core\Config\Entity\Query Members

BlockListBuilder::submitForm

public BlockListBuilder::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/block/src/BlockListBuilder.php, line 357 Class BlockListBuilder Defines a class to build a listing of block entities. Namespace Drupal\block Code public functio

UserInterface::setUsername

public UserInterface::setUsername($username) Sets the username of this account. Parameters string $username: The new user name. Return value \Drupal\user\UserInterface The called user entity. File core/modules/user/src/UserInterface.php, line 52 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function setUsername($username);

NodeViewController::view

public NodeViewController::view(EntityInterface $node, $view_mode = 'full', $langcode = NULL) Provides a page to render a single entity. Parameters \Drupal\Core\Entity\EntityInterface $_entity: The Entity to be rendered. Note this variable is named $_entity rather than $entity to prevent collisions with other named placeholders in the route. string $view_mode: (optional) The view mode that should be used to display the entity. Defaults to 'full'. Return value array A render array as expected

EntityViewController

Defines a generic controller to render a single entity. Hierarchy class \Drupal\Core\Entity\Controller\EntityViewController implements ContainerInjectionInterface File core/lib/Drupal/Core/Entity/Controller/EntityViewController.php, line 15 Namespace Drupal\Core\Entity\Controller Members Name Modifiers Type Description EntityViewController::$entityManager protected property The entity manager EntityViewController::$renderer protected property The renderer service

NodeGrantDatabaseStorageInterface::checkAll

public NodeGrantDatabaseStorageInterface::checkAll(AccountInterface $account) Checks all grants for a given account. Parameters \Drupal\Core\Session\AccountInterface $account: A user object representing the user for whom the operation is to be performed. Return value int. Status of the access check. File core/modules/node/src/NodeGrantDatabaseStorageInterface.php, line 24 Class NodeGrantDatabaseStorageInterface Provides an interface for node access grant storage. Namespace Drupal\node