Tasks::pass

protected Tasks::pass($message) Assert test as a pass. File core/lib/Drupal/Core/Database/Install/Tasks.php, line 99 Class Tasks Database installer structure. Namespace Drupal\Core\Database\Install Code protected function pass($message) { $this->results['pass'][] = $message; }

SelectExtender::conditionGroupFactory

public SelectExtender::conditionGroupFactory($conjunction = 'AND') Creates an object holding a group of conditions. See andConditionGroup() and orConditionGroup() for more. Parameters $conjunction: AND (default): this is the equivalent of andConditionGroup(). OR: this is the equivalent of andConditionGroup(). Return value \Drupal\Core\Database\Query\ConditionInterface An object holding a group of conditions. Overrides ConditionInterface::conditionGroupFactory File core/lib/Drupal/Core/Dat

Connection::escapeAlias

public Connection::escapeAlias($field) Escapes an alias name string. Force all alias names to be strictly alphanumeric-plus-underscore. In contrast to DatabaseConnection::escapeField() / DatabaseConnection::escapeTable(), this doesn't allow the period (".") because that is not allowed in aliases. Parameters string $field: An unsanitized alias name. Return value string The sanitized alias name. Overrides Connection::escapeAlias File core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php, li

BookManagerInterface::addFormElements

public BookManagerInterface::addFormElements(array $form, FormStateInterface $form_state, NodeInterface $node, AccountInterface $account, $collapsed = TRUE) Builds the common elements of the book form for the node and outline forms. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. \Drupal\node\NodeInterface $node: The node whose form is being viewed. \Drupal\Core\Session\AccountIn

StatementEmpty::valid

public StatementEmpty::valid() File core/lib/Drupal/Core/Database/StatementEmpty.php, line 144 Class StatementEmpty Empty implementation of a database statement. Namespace Drupal\Core\Database Code public function valid() { return FALSE; }

EntityTypeInterface::setListBuilderClass

public EntityTypeInterface::setListBuilderClass($class) Sets the list class. Parameters string $class: The list class to use for the operation. Return value $this File core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 300 Class EntityTypeInterface Provides an interface for an entity type and its metadata. Namespace Drupal\Core\Entity Code public function setListBuilderClass($class);

Log::findCaller

public Log::findCaller() Determine the routine that called this query. We define "the routine that called this query" as the first entry in the call stack that is not inside the includes/Drupal/Database directory, does not begin with db_ and does have a file (which excludes call_user_func_array(), anonymous functions and similar). That makes the climbing logic very simple, and handles the variable stack depth caused by the query builders. See the debug_backtrace() function. Return value This m

TranslatableMarkup::count

public TranslatableMarkup::count() Returns the string length. Return value int The length of the string. Overrides FormattableMarkup::count File core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php, line 236 Class TranslatableMarkup Provides translatable markup class. Namespace Drupal\Core\StringTranslation Code public function count() { return Unicode::strlen($this->render()); }

BookManager::findChildrenRelativeDepth

protected BookManager::findChildrenRelativeDepth(array $book_link) Determine the relative depth of the children of a given book link. Parameters array $book_link: The book link. Return value int The difference between the max depth in the book tree and the depth of the passed book link. File core/modules/book/src/BookManager.php, line 148 Class BookManager Defines a book manager. Namespace Drupal\book Code protected function findChildrenRelativeDepth(array $book_link) { $max_depth

Entity::getEntityType

public Entity::getEntityType() Gets the entity type definition. Return value \Drupal\Core\Entity\EntityTypeInterface The entity type definition. Overrides EntityInterface::getEntityType File core/lib/Drupal/Core/Entity/Entity.php, line 396 Class Entity Defines a base entity class. Namespace Drupal\Core\Entity Code public function getEntityType() { return $this->entityManager()->getDefinition($this->getEntityTypeId()); }