FieldStorageAddForm::getExistingFieldStorageOptions

protected FieldStorageAddForm::getExistingFieldStorageOptions() Returns an array of existing field storages that can be added to a bundle. Return value array An array of existing field storages keyed by name. File core/modules/field_ui/src/Form/FieldStorageAddForm.php, line 466 Class FieldStorageAddForm Provides a form for the "field storage" add page. Namespace Drupal\field_ui\Form Code protected function getExistingFieldStorageOptions() { $options = array(); // Load the field_st

BaseFieldDefinition::__sleep

public BaseFieldDefinition::__sleep() File core/lib/Drupal/Core/Field/BaseFieldDefinition.php, line 579 Class BaseFieldDefinition A class for defining entity fields. Namespace Drupal\Core\Field Code public function __sleep() { // Do not serialize the statically cached property definitions. $vars = get_object_vars($this); unset($vars['propertyDefinitions']); return array_keys($vars); }

hook_filetransfer_info

hook_filetransfer_info() Register information about FileTransfer classes provided by a module. The FileTransfer class allows transferring files over a specific type of connection. Core provides classes for FTP and SSH. Contributed modules are free to extend the FileTransfer base class to add other connection types, and if these classes are registered via hook_filetransfer_info(), those connection types will be available to site administrators using the Update manager when they are redirected to

Schema::dropIndex

abstract public Schema::dropIndex($table, $name) Drop an index. Parameters $table: The table to be altered. $name: The name of the index. Return value TRUE if the index was successfully dropped, FALSE if there was no index by that name to begin with. File core/lib/Drupal/Core/Database/Schema.php, line 512 Class Schema Provides a base implementation for Database Schema. Namespace Drupal\Core\Database Code abstract public function dropIndex($table, $name);

ViewsEntitySchemaSubscriber

Reacts to changes on entity types to update all views entities. Hierarchy class \Drupal\views\EventSubscriber\ViewsEntitySchemaSubscriber implements EntityTypeListenerInterface, EventSubscriberInterface uses EntityTypeEventSubscriberTrait File core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php, line 16 Namespace Drupal\views\EventSubscriber Members Name Modifiers Type Description EntityTypeEventSubscriberTrait::getEntityTypeEvents public static function

UpdateRegistry::registerInvokedUpdates

public UpdateRegistry::registerInvokedUpdates(array $function_names) Registers that update fucntions got executed. Parameters string[] $function_names: The executed update functions. Return value $this File core/lib/Drupal/Core/Update/UpdateRegistry.php, line 207 Class UpdateRegistry Provides all and missing update implementations. Namespace Drupal\Core\Update Code public function registerInvokedUpdates(array $function_names) { $executed_updates = $this->keyValue->get('existi

FormStateInterface::setSubmitHandlers

public FormStateInterface::setSubmitHandlers(array $submit_handlers) Sets the submit handlers. Parameters array $submit_handlers: An array of submit handlers. Return value $this File core/lib/Drupal/Core/Form/FormStateInterface.php, line 929 Class FormStateInterface Provides an interface for an object containing the current state of a form. Namespace Drupal\Core\Form Code public function setSubmitHandlers(array $submit_handlers);

image_field_storage_config_update

image_field_storage_config_update(FieldStorageConfigInterface $field_storage) Implements hook_ENTITY_TYPE_update() for 'field_storage_config'. File core/modules/image/image.module, line 377 Exposes global functionality for creating image styles. Code function image_field_storage_config_update(FieldStorageConfigInterface $field_storage) { if ($field_storage->getType() != 'image') { // Only act on image fields. return; } $prior_field_storage = $field_storage->original; /

ViewUI::addCacheTags

public ViewUI::addCacheTags(array $cache_tags) Adds cache tags. Parameters string[] $cache_tags: The cache tags to be added. Return value $this Overrides RefinableCacheableDependencyInterface::addCacheTags File core/modules/views_ui/src/ViewUI.php, line 1347 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function addCacheTags(array $cache_tags) { return $this->storage->addCacheTags($cache_tags); }

BlockContentForm::create

public static BlockContentForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service