EntityFormDisplayInterface

Provides a common interface for entity form displays. Hierarchy interface \Drupal\Core\Config\Entity\ConfigEntityInterface; interface \Drupal\Core\Entity\EntityWithPluginCollectionInterfaceinterface \Drupal\Core\Entity\Display\EntityDisplayInterfaceinterface \Drupal\Core\Entity\Display\EntityFormDisplayInterface File core/lib/Drupal/Core/Entity/Display/EntityFormDisplayInterface.php, line 12 Namespace Drupal\Core\Entity\Display Members Name Modifiers Type Description Accessi

drupal_required_modules

drupal_required_modules() Returns an array of modules required by core. File core/includes/module.inc, line 146 API for loading and interacting with Drupal modules. Code function drupal_required_modules() { $listing = new ExtensionDiscovery(\Drupal::root()); $files = $listing->scan('module'); $required = array(); // Unless called by the installer, an installation profile is required and // must always be loaded. drupal_get_profile() also returns the installation // profile in

SelectionWithAutocreateInterface::validateReferenceableNewEntities

public SelectionWithAutocreateInterface::validateReferenceableNewEntities(array $entities) Validates which newly created entities can be referenced. This method should replicate the logic implemented by \Drupal\Core\Entity\EntityReferenceSelection\SelectionInterface::validateReferenceableEntities(), but applied to newly created entities that have not been saved yet. Parameters \Drupal\Core\Entity\EntityInterface[] $entities: An array of entities to check. Return value \Drupal\Core\Entity\Enti

ContainerBuilder::register

public ContainerBuilder::register($id, $class = null) Registers a service definition. This methods allows for simple registration of service definition with a fluid interface. Parameters string $id The service identifier: string $class The service class: Return value Definition A Definition instance Overrides ContainerBuilder::register File core/lib/Drupal/Core/DependencyInjection/ContainerBuilder.php, line 92 Class ContainerBuilder Drupal's dependency injection container builder. Name

ManagedFile

Provides an AJAX/progress aware widget for uploading and saving a file. Plugin annotation @FormElement("managed_file") Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Render\Element\RenderElement implements ElementInterfaceclass \Drupal\Core\Render\Element\FormElement implements FormElementInterfaceclass \Drupal\

FormElement

Provides a base class for form element plugins. Form elements are a subset of render elements, representing elements for HTML forms, which can be referenced in form arrays. See the Render API topic for an overview of render arrays and render elements, and the Form API topic for an overview of forms and form arrays. The elements of form arrays are divided up into properties (whose keys start with #) and children (whose keys do not start with #). The properties provide data or settings that are u

File::getInfo

public File::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides ElementInterface::getInfo File core/lib/Drupal/Core/Render/Element/File.php, line 25 Class File Provides a form element for uploading a file. Namespace Drupal\Core\Render\Element Code public function ge

Query::$uniqueIdentifier

A unique identifier for this query object. File core/lib/Drupal/Core/Database/Query/Query.php, line 47 Class Query Base class for query builders. Namespace Drupal\Core\Database\Query Code protected $uniqueIdentifier;

Delete

PostgreSQL implementation of \Drupal\Core\Database\Query\Delete. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Delete implements ConditionInterface uses QueryConditionTraitclass \Drupal\Core\Database\Driver\pgsql\Delete File core/lib/Drupal/Core/Database/Driver/pgsql/Delete.php, line 10 Namespace Drupal\Core\Database\Driver\pgsql Members Name Modifiers Type Description Delete::$table protected property

DatabaseFileUsageBackend::__construct

public DatabaseFileUsageBackend::__construct(Connection $connection, $table = 'file_usage') Construct the DatabaseFileUsageBackend. Parameters \Drupal\Core\Database\Connection $connection: The database connection which will be used to store the file usage information. string $table: (optional) The table to store file usage info. Defaults to 'file_usage'. File core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php, line 36 Class DatabaseFileUsageBackend Defines the database file usag