RouteCompiler::REGEX_DELIMITER

Utility constant to use for regular expressions against the path. Overrides RouteCompiler::REGEX_DELIMITER File core/lib/Drupal/Core/Routing/RouteCompiler.php, line 17 Class RouteCompiler Compiler to generate derived information from a Route necessary for matching. Namespace Drupal\Core\Routing Code const REGEX_DELIMITER = '#';

TAXONOMY_HIERARCHY_SINGLE

Denotes that one or more terms in the vocabulary has a single parent. Deprecated in Drupal 8.2.x and will be removed before 9.0.0. Use \Drupal\taxonomy\VocabularyInterface::HIERARCHY_SINGLE instead. File core/modules/taxonomy/taxonomy.module, line 34 Enables the organization of content into categories. Code const TAXONOMY_HIERARCHY_SINGLE = 1;

Input validation

Functions to validate user input. File core/includes/common.inc, line 162 Common functions that many Drupal modules will need to reference. Functions Name Location Description valid_email_address Deprecated core/includes/common.inc Verifies the syntax of the given email address.

RowCountException::__construct

public RowCountException::__construct($message = NULL, $code = 0, \Exception $previous = NULL) File core/lib/Drupal/Core/Database/RowCountException.php, line 10 Class RowCountException Exception thrown if a SELECT query trying to execute rowCount() on result. Namespace Drupal\Core\Database Code public function __construct($message = NULL, $code = 0, \Exception $previous = NULL) { if (!isset($message)) { $message = "rowCount() is supported for DELETE, INSERT, or UPDATE statements

RevisionableInterface::isDefaultRevision

public RevisionableInterface::isDefaultRevision($new_value = NULL) Checks if this entity is the default revision. Parameters bool $new_value: (optional) A Boolean to (re)set the isDefaultRevision flag. Return value bool TRUE if the entity is the default revision, FALSE otherwise. If $new_value was passed, the previous value is returned. File core/lib/Drupal/Core/Entity/RevisionableInterface.php, line 52 Class RevisionableInterface Provides methods for an entity to support revisions. Na

SelectInterface::getFields

public &SelectInterface::getFields() Returns a reference to the fields array for this query. Because this method returns by reference, alter hooks may edit the fields array directly to make their changes. If just adding fields, however, the use of addField() is preferred. Note that this method must be called by reference as well: $fields =& $query->getFields(); Return value A reference to the fields array structure. File core/lib/Drupal/Core/Database/Query/SelectInterface.php, line

EntityForm::$entityTypeManager

The entity type manager. Type: \Drupal\Core\Entity\EntityTypeManagerInterface File core/lib/Drupal/Core/Entity/EntityForm.php, line 49 Class EntityForm Base class for entity forms. Namespace Drupal\Core\Entity Code protected $entityTypeManager;

ExtensionDiscovery::ORIGIN_PARENT_SITE

Origin directory weight: Parent site directory of a test site environment. File core/lib/Drupal/Core/Extension/ExtensionDiscovery.php, line 45 Class ExtensionDiscovery Discovers available extensions in the filesystem. Namespace Drupal\Core\Extension Code const ORIGIN_PARENT_SITE = 4;

Container::isScopeActive

public Container::isScopeActive($name) File core/lib/Drupal/Component/DependencyInjection/Container.php, line 639 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code public function isScopeActive($name) { @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED); throw new \BadMethodCallException(sprintf("'%s' is not supported by Drupal 8.", __FUN

EntityTypeInterface::getLinkTemplate

public EntityTypeInterface::getLinkTemplate($key) Gets the link template for a given key. Parameters string $key: The link type. Return value string|bool The path for this link, or FALSE if it doesn't exist. File core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 439 Class EntityTypeInterface Provides an interface for an entity type and its metadata. Namespace Drupal\Core\Entity Code public function getLinkTemplate($key);