TransactionCommitFailedException

Exception thrown when a commit() function fails. Hierarchy class \Drupal\Core\Database\TransactionException extends \RuntimeException implements DatabaseExceptionclass \Drupal\Core\Database\TransactionCommitFailedException implements DatabaseException File core/lib/Drupal/Core/Database/TransactionCommitFailedException.php, line 8 Namespace Drupal\Core\Database Members

Token::$moduleHandler

The module handler service. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/lib/Drupal/Core/Utility/Token.php, line 98 Class Token Drupal placeholder/token replacement system. Namespace Drupal\Core\Utility Code protected $moduleHandler;

QueryInterface::exists

public QueryInterface::exists($field, $langcode = NULL) Queries for a non-empty value on a field. Parameters $field: Name of a field. $langcode: Language code (optional). Return value \Drupal\Core\Entity\Query\QueryInterface File core/lib/Drupal/Core/Entity/Query/QueryInterface.php, line 107 Class QueryInterface Interface for entity queries. Namespace Drupal\Core\Entity\Query Code public function exists($field, $langcode = NULL);

ConfigSync::$activeStorage

The active configuration object. Type: \Drupal\Core\Config\StorageInterface File core/modules/config/src/Form/ConfigSync.php, line 46 Class ConfigSync Construct the storage changes in a configuration synchronization form. Namespace Drupal\config\Form Code protected $activeStorage;

QueryConditionTrait::notExists

public QueryConditionTrait::notExists(SelectInterface $select) Sets a condition that the specified subquery returns no values. Parameters \Drupal\Core\Database\Query\SelectInterface $select: The subquery that must not contain results. Return value \Drupal\Core\Database\Query\ConditionInterface The called object. Overrides ConditionInterface::notExists File core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php, line 58 Class QueryConditionTrait Provides an implementation of Conditio

CommentInterface::setThread

public CommentInterface::setThread($thread) Sets the alphadecimal representation of the comment's place in a thread. Parameters string $thread: The alphadecimal representation of the comment's place in a thread. Return value $this The class instance that this method is called on. File core/modules/comment/src/CommentInterface.php, line 238 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function setThread($thread);

ConfigCollectionInfo::$collections

Configuration collection information keyed by collection name. The value is either the configuration factory override that is responsible for the collection or null if there is not one. Type: array File core/lib/Drupal/Core/Config/ConfigCollectionInfo.php, line 20 Class ConfigCollectionInfo Gets information on all the possible configuration collections. Namespace Drupal\Core\Config Code protected $collections = array();

Condition::compile

public Condition::compile($configs) Compiles this conditional clause. Parameters $query: The query object this conditional clause belongs to. Overrides ConditionInterface::compile File core/lib/Drupal/Core/Config/Entity/Query/Condition.php, line 20 Class Condition Defines the condition class for the config entity query. Namespace Drupal\Core\Config\Entity\Query Code public function compile($configs) { $and = strtoupper($this->conjunction) == 'AND'; $single_conditions = array();

FieldItemList::getEntity

public FieldItemList::getEntity() Gets the entity that field belongs to. Return value \Drupal\Core\Entity\EntityInterface The entity object. Overrides FieldItemListInterface::getEntity File core/lib/Drupal/Core/Field/FieldItemList.php, line 46 Class FieldItemList Represents an entity field; that is, a list of field item objects. Namespace Drupal\Core\Field Code public function getEntity() { // The "parent" is the TypedData object for the entity, we need to unwrap // the actual ent

ProfileForm::__construct

public ProfileForm::__construct(EntityManagerInterface $entity_manager, LanguageManagerInterface $language_manager, QueryFactory $entity_query) Constructs a new EntityForm object. Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager. \Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager. \Drupal\Core\Entity\Query\QueryFactory $entity_query: The entity query factory. Overrides AccountForm::__construct File core/modules/user/s