ArrayElement::isEmpty

public ArrayElement::isEmpty() Determines whether the data structure is empty. Return value bool TRUE if the data structure is empty, FALSE otherwise. Overrides TypedConfigInterface::isEmpty File core/lib/Drupal/Core/Config/Schema/ArrayElement.php, line 91 Class ArrayElement Defines a generic configuration element that contains multiple properties. Namespace Drupal\Core\Config\Schema Code public function isEmpty() { return empty($this->value); }

Schema::dropField

public Schema::dropField($table, $field) Drop a field. Parameters $table: The table to be altered. $field: The field to be dropped. Return value TRUE if the field was successfully dropped, FALSE if there was no field by that name to begin with. Overrides Schema::dropField File core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php, line 503 Class Schema SQLite implementation of \Drupal\Core\Database\Schema. Namespace Drupal\Core\Database\Driver\sqlite Code public function dropField($

db_condition

db_condition($conjunction) Returns a new DatabaseCondition, set to the specified conjunction. Internal API function call. The db_and(), db_or(), and db_xor() functions are preferred. Parameters string $conjunction: The conjunction to use for query conditions (AND, OR or XOR). Return value \Drupal\Core\Database\Query\Condition A new Condition object, set to the specified conjunction. Deprecated as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Create a \Drupal\Core\Database\Query\Conditio

ModerationInformationInterface::isModeratedEntity

public ModerationInformationInterface::isModeratedEntity(EntityInterface $entity) Determines if an entity is moderated. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity we may be moderating. Return value bool TRUE if this entity is moderated, FALSE otherwise. File core/modules/content_moderation/src/ModerationInformationInterface.php, line 23 Class ModerationInformationInterface Interface for moderation_information service. Namespace Drupal\content_moderation Code p

ConfigFieldMapper::getTypeLabel

public ConfigFieldMapper::getTypeLabel() Returns the label of the type of data the mapper encapsulates. Return value string The label of the type of data the mapper encapsulates. Overrides ConfigEntityMapper::getTypeLabel File core/modules/config_translation/src/ConfigFieldMapper.php, line 45 Class ConfigFieldMapper Configuration mapper for fields. Namespace Drupal\config_translation Code public function getTypeLabel() { $base_entity_info = $this->entityManager->getDefinition(

ConfigEntityMapper::getTypeLabel

public ConfigEntityMapper::getTypeLabel() Returns the label of the type of data the mapper encapsulates. Return value string The label of the type of data the mapper encapsulates. Overrides ConfigNamesMapper::getTypeLabel File core/modules/config_translation/src/ConfigEntityMapper.php, line 214 Class ConfigEntityMapper Configuration mapper for configuration entities. Namespace Drupal\config_translation Code public function getTypeLabel() { $entityType = $this->entityManager->g

ContentTranslationUpdatesManager::getSubscribedEvents

public static ContentTranslationUpdatesManager::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName',

ExecutionContext::getClassName

public ExecutionContext::getClassName() File core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php, line 228 Class ExecutionContext Defines an execution context class. Namespace Drupal\Core\TypedData\Validation Code public function getClassName() { return get_class($this->data); }

OpenDialogCommand

Defines an AJAX command to open certain content in a dialog. Hierarchy class \Drupal\Core\Ajax\OpenDialogCommand implements CommandInterface, CommandWithAttachedAssetsInterface uses CommandWithAttachedAssetsTrait Related topics Ajax API Overview for Drupal's Ajax API. File core/lib/Drupal/Core/Ajax/OpenDialogCommand.php, line 12 Namespace Drupal\Core\Ajax Members Name Modifiers Type Description CommandWithAttachedAssetsTrait::$attachedAssets protected property The atta

PoDatabaseWriter::getHeader

public PoDatabaseWriter::getHeader() Get header metadata. Return value \Drupal\Component\Gettext\PoHeader $header Header instance representing metadata in a PO header. Overrides PoMetadataInterface::getHeader File core/modules/locale/src/PoDatabaseWriter.php, line 130 Class PoDatabaseWriter Gettext PO writer working with the locale module database. Namespace Drupal\locale Code public function getHeader() { return $this->header; }