DynamicallyFieldableEntityStorageSchemaInterface::finalizePurge

public DynamicallyFieldableEntityStorageSchemaInterface::finalizePurge(FieldStorageDefinitionInterface $storage_definition) Performs final cleanup after all data of a field has been purged. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field being purged. File core/lib/Drupal/Core/Entity/Schema/DynamicallyFieldableEntityStorageSchemaInterface.php, line 77 Class DynamicallyFieldableEntityStorageSchemaInterface A storage schema that supports entity t

DynamicallyFieldableEntityStorageSchemaInterface

A storage schema that supports entity types with dynamic field definitions. A storage schema that implements this interface can react to the entity type's field definitions changing, due to modules being installed or uninstalled, or via field UI, or via code changes to the entity class. For example, configurable fields defined and exposed by field.module. Hierarchy interface \Drupal\Core\Entity\Schema\EntityStorageSchemaInterface; interface \Drupal\Core\Field\FieldStorageDefinitionListenerInter

DynamicallyFieldableEntityStorageInterface::purgeFieldData

public DynamicallyFieldableEntityStorageInterface::purgeFieldData(FieldDefinitionInterface $field_definition, $batch_size) Purges a batch of field data. Parameters \Drupal\Core\Field\FieldDefinitionInterface $field_definition: The deleted field whose data is being purged. $batch_size: The maximum number of field data records to purge before returning, relating to the count of field data records returned by \Drupal\Core\Entity\FieldableEntityStorageInterface::countFieldData(). Return value int

DynamicallyFieldableEntityStorageInterface::hasData

public DynamicallyFieldableEntityStorageInterface::hasData() Determines if the storage contains any data. Return value bool TRUE if the storage contains data, FALSE if not. File core/lib/Drupal/Core/Entity/DynamicallyFieldableEntityStorageInterface.php, line 27 Class DynamicallyFieldableEntityStorageInterface A storage that supports entity types with dynamic field definitions. Namespace Drupal\Core\Entity Code public function hasData();

DynamicallyFieldableEntityStorageInterface::finalizePurge

public DynamicallyFieldableEntityStorageInterface::finalizePurge(FieldStorageDefinitionInterface $storage_definition) Performs final cleanup after all data of a field has been purged. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field being purged. File core/lib/Drupal/Core/Entity/DynamicallyFieldableEntityStorageInterface.php, line 50 Class DynamicallyFieldableEntityStorageInterface A storage that supports entity types with dynamic field definiti

DynamicallyFieldableEntityStorageInterface

A storage that supports entity types with dynamic field definitions. A storage that implements this interface can react to the entity type's field definitions changing, due to modules being installed or uninstalled, or via field UI, or via code changes to the entity class. For example, configurable fields defined and exposed by field.module. Hierarchy interface \Drupal\Core\Entity\FieldableEntityStorageInterface; interface \Drupal\Core\Field\FieldStorageDefinitionListenerInterface; interface \D

DurationInterface::setDuration

public DurationInterface::setDuration(\DateInterval $duration) Sets the duration. Parameters \DateInterval $duration: A duration to set. File core/lib/Drupal/Core/TypedData/Type/DurationInterface.php, line 28 Class DurationInterface Interface for durations. Namespace Drupal\Core\TypedData\Type Code public function setDuration(\DateInterval $duration);

DurationInterface::getDuration

public DurationInterface::getDuration() Returns the duration. Return value \DateInterval|null A DateInterval object or NULL if there is no duration. Throws \Exception File core/lib/Drupal/Core/TypedData/Type/DurationInterface.php, line 20 Class DurationInterface Interface for durations. Namespace Drupal\Core\TypedData\Type Code public function getDuration();

DurationInterface

Interface for durations. Hierarchy interface \Drupal\Core\TypedData\Type\DurationInterface Related topics Typed Data API API for describing data based on a set of available data types. File core/lib/Drupal/Core/TypedData/Type/DurationInterface.php, line 10 Namespace Drupal\Core\TypedData\Type Members Name Modifiers Type Description DurationInterface::getDuration public function Returns the duration. DurationInterface::setDuration public function Sets the durati

drupal_xml_parser_create

drupal_xml_parser_create(&$data) Prepares a new XML parser. This is a wrapper around xml_parser_create() which extracts the encoding from the XML data first and sets the output encoding to UTF-8. This function should be used instead of xml_parser_create(), because PHP 4's XML parser doesn't check the input encoding itself. "Starting from PHP 5, the input encoding is automatically detected, so that the encoding parameter specifies only the output encoding." This is also where unsupported enc