ListElement::$element

The schema element this form is for. Type: \Drupal\Core\TypedData\TraversableTypedDataInterface File core/modules/config_translation/src/FormElement/ListElement.php, line 26 Class ListElement Defines the list element for the configuration translation interface. Namespace Drupal\config_translation\FormElement Code protected $element;

ModerationInformation::isModeratedEntity

public ModerationInformation::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. Overrides ModerationInformationInterface::isModeratedEntity File core/modules/content_moderation/src/ModerationInformation.php, line 37 Class ModerationInformation General service for moderation-related questions about Enti

FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionDelete

public FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionDelete(FieldStorageDefinitionInterface $storage_definition) Reacts to the deletion of a field storage definition. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field being deleted. File core/lib/Drupal/Core/Field/FieldStorageDefinitionListenerInterface.php, line 37 Class FieldStorageDefinitionListenerInterface Defines an interface for reacting to field storage definition creati

FTPExtension::removeFileJailed

protected FTPExtension::removeFileJailed($destination) Removes a file. Parameters string $destination: The destination file to be removed. Overrides FileTransfer::removeFileJailed File core/lib/Drupal/Core/FileTransfer/FTPExtension.php, line 75 Class FTPExtension Defines a file transfer class using the PHP FTP extension. Namespace Drupal\Core\FileTransfer Code protected function removeFileJailed($destination) { if (!ftp_delete($this->connection, $destination)) { throw new Fil

ModerationStateListBuilder::getFormId

public ModerationStateListBuilder::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/content_moderation/src/ModerationStateListBuilder.php, line 16 Class ModerationStateListBuilder Provides a listing of Moderation state entities. Namespace Drupal\content_moderation Code public function getFormId() { return 'moderation_state_admin_overview_form'; }

Tasks::__construct

public Tasks::__construct() Constructs a \Drupal\Core\Database\Driver\pgsql\Install\Tasks object. File core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php, line 23 Class Tasks Specifies installation tasks for PostgreSQL databases. Namespace Drupal\Core\Database\Driver\pgsql\Install Code public function __construct() { $this->tasks[] = array( 'function' => 'checkEncoding', 'arguments' => array(), ); $this->tasks[] = array( 'function' => 'checkBi

responsive_image_get_mime_type

responsive_image_get_mime_type($image_style_name, $extension) Determines the MIME type of an image. Parameters string $image_style_name: The image style that will be applied to the image. string $extension: The original extension of the image (without the leading dot). Return value string The MIME type of the image after the image style is applied. File core/modules/responsive_image/responsive_image.module, line 474 Responsive image display formatter for image fields. Code function responsi

ConfigInstaller::setSourceStorage

public ConfigInstaller::setSourceStorage(StorageInterface $storage) Sets the configuration storage that provides the default configuration. Parameters \Drupal\Core\Config\StorageInterface $storage: Return value $this Overrides ConfigInstallerInterface::setSourceStorage File core/lib/Drupal/Core/Config/ConfigInstaller.php, line 351 Class ConfigInstaller Namespace Drupal\Core\Config Code public function setSourceStorage(StorageInterface $storage) { $this->sourceStorage = $storage

ContentEntityBase::toArray

public ContentEntityBase::toArray() Gets an array of all property values. Return value mixed[] An array of property values, keyed by property name. Overrides Entity::toArray File core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 574 Class ContentEntityBase Implements Entity Field API specific enhancements to the Entity class. Namespace Drupal\Core\Entity Code public function toArray() { $values = array(); foreach ($this->getFields() as $name => $property) { $values

block.html.twig

Default theme implementation to display a block. Available variables: plugin_id: The ID of the block implementation. label: The configured label of the block if visible. configuration: A list of the block's configuration values. label: The configured label for the block. label_display: The display settings for the label. provider: The module or other provider that provided this block plugin. Block plugin specific settings will also be stored here. content: The content of this block. at