AccessException

An exception thrown for access errors. Examples could be invalid access callback return values, or invalid access objects being used. Hierarchy class \Drupal\Core\Access\AccessException extends \RuntimeException File core/lib/Drupal/Core/Access/AccessException.php, line 11 Namespace Drupal\Core\Access Members

FormSubmitter::drupalInstallationAttempted

protected FormSubmitter::drupalInstallationAttempted() Wraps drupal_installation_attempted(). Return value bool File core/lib/Drupal/Core/Form/FormSubmitter.php, line 151 Class FormSubmitter Provides submission processing for forms. Namespace Drupal\Core\Form Code protected function drupalInstallationAttempted() { return drupal_installation_attempted(); }

Connection::DATABASE_NOT_FOUND

Error code for "Unknown database" error. File core/lib/Drupal/Core/Database/Driver/mysql/Connection.php, line 27 Class Connection MySQL implementation of \Drupal\Core\Database\Connection. Namespace Drupal\Core\Database\Driver\mysql Code const DATABASE_NOT_FOUND = 1049;

ViewExecutable::getHandlerTypes

public static ViewExecutable::getHandlerTypes() Provides a list of views handler types used in a view. This also provides some information about the views handler types. Return value array An array of associative arrays containing: title: The title of the handler type. ltitle: The lowercase title of the handler type. stitle: A singular title of the handler type. lstitle: A singular lowercase title of the handler type. plural: Plural version of the handler type. (optional) type: The actua

RenderableInterface

Defines an object which can be rendered by the Render API. Hierarchy interface \Drupal\Core\Render\RenderableInterface File core/lib/Drupal/Core/Render/RenderableInterface.php, line 8 Namespace Drupal\Core\Render Members Name Modifiers Type Description RenderableInterface::toRenderable public function Returns a render array representation of the object.

PagerSelectExtender

Query extender for pager queries. This is the "default" pager mechanism. It creates a paged query with a fixed number of entries per page. When adding this extender along with other extenders, be sure to add PagerSelectExtender last, so that its range and count are based on the full query. Hierarchy class \Drupal\Core\Database\Query\SelectExtender implements SelectInterfaceclass \Drupal\Core\Database\Query\PagerSelectExtender File core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php,

Session

Wrap session logic around a HTTP request. Note, the session service is not injected into this class in order to prevent premature initialization of session storage (database). Instead the session service is retrieved from the container only when handling the request. Hierarchy class \Drupal\Core\StackMiddleware\Session implements HttpKernelInterface uses ContainerAwareTrait File core/lib/Drupal/Core/StackMiddleware/Session.php, line 16 Namespace Drupal\Core\StackMiddleware Members Nam

EntityType::$bundle_of

The name of the entity type for which bundles are provided. Type: string|null File core/lib/Drupal/Core/Entity/EntityType.php, line 133 Class EntityType Provides an implementation of an entity type and its metadata. Namespace Drupal\Core\Entity Code protected $bundle_of = NULL;

Constraint

Defines a validation constraint annotation object. Plugin Namespace: Plugin\Validation\Constraint For a working example, see \Drupal\Core\Validation\Plugin\Validation\Constraint\LengthConstraint Hierarchy class \Drupal\Component\Annotation\Plugin implements AnnotationInterfaceclass \Drupal\Core\Validation\Annotation\Constraint See also \Drupal\Core\Validation\ConstraintManager \Symfony\Component\Validator\Constraint hook_validation_constraint_alter() Plugin API Related topics Annotations A

RemoveCommand::$selector

The CSS selector for the element(s) to be removed. Type: string File core/lib/Drupal/Core/Ajax/RemoveCommand.php, line 26 Class RemoveCommand AJAX command for calling the jQuery remove() method. Namespace Drupal\Core\Ajax Code protected $selector;