FieldConfigInterface

Provides an interface defining a field entity. Hierarchy interface \Drupal\Core\Config\Entity\ConfigEntityInterface; interface \Drupal\Core\Field\FieldDefinitionInterfaceinterface \Drupal\field\FieldConfigInterface File core/modules/field/src/FieldConfigInterface.php, line 11 Namespace Drupal\field Members Name Modifiers Type Description AccessibleInterface::access public function Checks data value access. CacheableDependencyInterface::getCacheContexts public func

BlockListBuilder::__construct

public BlockListBuilder::__construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, ThemeManagerInterface $theme_manager, FormBuilderInterface $form_builder) Constructs a new BlockListBuilder object. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class. \Drupal\Core\Theme\ThemeManagerInterface $theme_manager: The theme manager. \Drupal\Core\Form\FormBuilderI

ContentEntityStorageBase::cleanIds

protected ContentEntityStorageBase::cleanIds(array $ids) Ensures integer entity IDs are valid. The identifier sanitization provided by this method has been introduced as Drupal used to rely on the database to facilitate this, which worked correctly with MySQL but led to errors with other DBMS such as PostgreSQL. Parameters array $ids: The entity IDs to verify. Return value array The sanitized list of entity IDs. File core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php, line 561 Class

AttachmentsTrait::$attachments

The attachments for this response. Type: array File core/lib/Drupal/Core/Render/AttachmentsTrait.php, line 17 Class AttachmentsTrait Provides an implementation of AttachmentsInterface. Namespace Drupal\Core\Render Code protected $attachments = [];

db_next_id

db_next_id($existing_id = 0) Retrieves a unique id. Use this function if for some reason you can't use a serial field. Using a serial field is preferred, and InsertQuery::execute() returns the value of the last ID inserted. Parameters int $existing_id: After a database import, it might be that the sequences table is behind, so by passing in a minimum ID, it can be assured that we never issue the same ID. Return value int An integer number larger than any number returned before for this sequen

Schema API

API to handle database schemas. A Drupal schema definition is an array structure representing one or more tables and their related keys and indexes. A schema is defined by hook_schema(), which usually lives in a modulename.install file. By implementing hook_schema() and specifying the tables your module declares, you can easily create and drop these tables on all supported database engines. You don't have to deal with the different SQL dialects for table creation and alteration of the supported

LocalStream::dir_readdir

public LocalStream::dir_readdir() Support for readdir(). Return value string The next filename, or FALSE if there are no more files in the directory. Overrides PhpStreamWrapperInterface::dir_readdir See also http://php.net/manual/streamwrapper.dir-readdir.php File core/lib/Drupal/Core/StreamWrapper/LocalStream.php, line 536 Class LocalStream Defines a Drupal stream wrapper base class for local files. Namespace Drupal\Core\StreamWrapper Code public function dir_readdir() { return re

BlockListController::listing

public BlockListController::listing($theme = NULL, Request $request = NULL) Shows the block administration page. Parameters string|null $theme: Theme key of block list. \Symfony\Component\HttpFoundation\Request $request: The current request. Return value array A render array as expected by drupal_render(). Overrides EntityListController::listing File core/modules/block/src/Controller/BlockListController.php, line 53 Class BlockListController Defines a controller to list blocks. Namespa

ThemeRegistry

Builds the run-time theme registry. A cache collector to allow the theme registry to be accessed as a complete registry, while internally caching only the parts of the registry that are actually in use on the site. On cache misses the complete theme registry is loaded and used to update the run-time cache. Hierarchy class \Drupal\Core\Cache\CacheCollector implements CacheCollectorInterface, DestructableInterfaceclass \Drupal\Core\Utility\ThemeRegistry implements DestructableInterface File c

DbUpdateController

Controller routines for database update routes. Hierarchy class \Drupal\Core\Controller\ControllerBase implements ContainerInjectionInterface uses LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\system\Controller\DbUpdateController File core/modules/system/src/Controller/DbUpdateController.php, line 22 Namespace Drupal\system\Controller Members Name Modifiers Type Description ControllerBase::$configFacto