FieldStorageConfigListBuilder::buildRow

public FieldStorageConfigListBuilder::buildRow(EntityInterface $field_storage) Builds a row for an entity in the entity listing. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for this row of the list. Return value array A render array structure of fields for this entity. Overrides EntityListBuilder::buildRow See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/field_ui/src/FieldStorageConfigListBuilder.php, line 96 Class FieldStorageConfigListBu

ViewExecutableFactory::$viewsData

The views data. Type: \Drupal\views\ViewsData File core/modules/views/src/ViewExecutableFactory.php, line 33 Class ViewExecutableFactory Defines the cache backend factory. Namespace Drupal\views Code protected $viewsData;

UserMultipleCancelConfirm::getConfirmText

public UserMultipleCancelConfirm::getConfirmText() Returns a caption for the button that confirms the action. Return value string The form confirmation text. Overrides ConfirmFormBase::getConfirmText File core/modules/user/src/Form/UserMultipleCancelConfirm.php, line 90 Class UserMultipleCancelConfirm Provides a confirmation form for cancelling multiple user accounts. Namespace Drupal\user\Form Code public function getConfirmText() { return $this->t('Cancel accounts'); }

FieldStorageConfigInterface::getBundles

public FieldStorageConfigInterface::getBundles() Returns the list of bundles where the field storage has fields. Return value array An array of bundle names. File core/modules/field/src/FieldStorageConfigInterface.php, line 35 Class FieldStorageConfigInterface Provides an interface defining a field storage entity. Namespace Drupal\field Code public function getBundles();

drupal_install_schema

drupal_install_schema($module) Creates all tables defined in a module's hook_schema(). Parameters string $module: The module for which the tables will be created. Related topics Schema API API to handle database schemas. File core/includes/schema.inc, line 117 Schema API handling functions. Code function drupal_install_schema($module) { $schema = drupal_get_module_schema($module); _drupal_schema_initialize($schema, $module, FALSE); foreach ($schema as $name => $table) { db_cr

COMMENT_ANONYMOUS_MAY_CONTACT

Anonymous posters may leave their contact information. File core/modules/comment/comment.module, line 37 Enables users to comment on published content. Code const COMMENT_ANONYMOUS_MAY_CONTACT = 1;

Utility classes and functions

Overview of utility classes and functions for developers. Drupal provides developers with a variety of utility functions that make it easier and more efficient to perform tasks that are either really common, tedious, or difficult. Utility functions help to reduce code duplication and should be used in place of one-off code whenever possible. See also common.inc File interface Formatting PHP wrapper functions Sanitization functions Transliteration Input validation File core/core.api.php, line 1

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

content_translation.install

Installation functions for Content Translation module. File core/modules/content_translation/content_translation.install Functions Name Description content_translation_install Implements hook_install(). content_translation_update_8001 Rebuild the routes as the content translation routes have now new names. content_translation_update_8002 Clear field type plugin caches to fix image field translatability.

BaseFieldOverride::isDisplayConfigurable

public BaseFieldOverride::isDisplayConfigurable($context) Returns whether the display for the field can be configured. Parameters string $display_context: The display context. Either 'view' or 'form'. Return value bool TRUE if the display for this field is configurable in the given context. If TRUE, the display options returned by getDisplayOptions() may be overridden via the respective entity display. Overrides FieldDefinitionInterface::isDisplayConfigurable See also \Drupal\Core\Entity\Dis