ConfigTranslationFieldListBuilder::sortRows

public ConfigTranslationFieldListBuilder::sortRows($a, $b) Sorts an array by value. Parameters array $a: First item for comparison. array $b: Second item for comparison. Return value int The comparison result for uasort(). Overrides ConfigTranslationEntityListBuilder::sortRows File core/modules/config_translation/src/Controller/ConfigTranslationFieldListBuilder.php, line 167 Class ConfigTranslationFieldListBuilder Defines the config translation list builder for field entities. Namespac

TranslationString::delete

public TranslationString::delete() Deletes string object from storage. Return value $this Throws \Drupal\locale\StringStorageException In case of failures, an exception is thrown. Overrides StringBase::delete File core/modules/locale/src/TranslationString.php, line 117 Class TranslationString Defines the locale translation string object. Namespace Drupal\locale Code public function delete() { parent::delete(); $this->isNew = TRUE; return $this; }

PhpArrayDumper::getParameterCall

protected PhpArrayDumper::getParameterCall($name) Gets a parameter reference in a suitable PHP array format. Parameters string $name: The name of the parameter to get a reference for. Return value string|\stdClass A suitable representation of the parameter reference. Overrides OptimizedPhpArrayDumper::getParameterCall File core/lib/Drupal/Component/DependencyInjection/Dumper/PhpArrayDumper.php, line 61 Class PhpArrayDumper PhpArrayDumper dumps a service container as a PHP array. Namesp

ViewUIConverter::convert

public ViewUIConverter::convert($value, $definition, $name, array $defaults) Converts path variables to their corresponding objects. Parameters mixed $value: The raw value. mixed $definition: The parameter definition provided in the route options. string $name: The name of the parameter. array $defaults: The route defaults array. Return value mixed|null The converted parameter value. Overrides AdminPathConfigEntityConverter::convert File core/modules/views_ui/src/ParamConverter/ViewUIConverte

EntityViewsData::getViewsTableForEntityType

public EntityViewsData::getViewsTableForEntityType(EntityTypeInterface $entity_type) Gets the table of an entity type to be used as base table in views. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type. Return value string The name of the base table in views. Overrides EntityViewsDataInterface::getViewsTableForEntityType File core/modules/views/src/EntityViewsData.php, line 631 Class EntityViewsData Provides generic views integration for entities. Namesp

EntityManager::onFieldStorageDefinitionDelete

public EntityManager::onFieldStorageDefinitionDelete(FieldStorageDefinitionInterface $storage_definition) Overrides FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionDelete Deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. File core/lib/Drupal/Core/Entity/EntityManager.php, line 428 Class EntityManager Provides a wrapper around many other services relating to entities. Namespace Drupal\Core\Entity Code public function onFieldStorageDefinitionDelete(Fiel

UpdateProcessorInterface::numberOfQueueItems

public UpdateProcessorInterface::numberOfQueueItems() Retrieves the number of items in the update fetch queue. Return value int An integer estimate of the number of items in the queue. See also \Drupal\Core\Queue\QueueInterface::numberOfItems() File core/modules/update/src/UpdateProcessorInterface.php, line 70 Class UpdateProcessorInterface Processor of project update information. Namespace Drupal\update Code public function numberOfQueueItems();

FormStateInterface::cleanValues

public FormStateInterface::cleanValues() Removes internal Form API elements and buttons from submitted form values. This function can be used when a module wants to store all submitted form values, for example, by serializing them into a single database column. In such cases, all internal Form API values and all form button elements should not be contained, and this function allows their removal before the module proceeds to storage. Next to button elements, the following internal values are re

PersistentDatabaseLockBackend::__construct

public PersistentDatabaseLockBackend::__construct(Connection $database) Constructs a new PersistentDatabaseLockBackend. Parameters \Drupal\Core\Database\Connection $database: The database connection. Overrides DatabaseLockBackend::__construct File core/lib/Drupal/Core/Lock/PersistentDatabaseLockBackend.php, line 21 Class PersistentDatabaseLockBackend Defines the persistent database lock backend. This backend is global for this Drupal installation. Namespace Drupal\Core\Lock Code publi

ViewEditForm::getDisplayTab

public ViewEditForm::getDisplayTab($view) Returns a renderable array representing the edit page for one display. File core/modules/views_ui/src/ViewEditForm.php, line 338 Class ViewEditForm Form controller for the Views edit form. Namespace Drupal\views_ui Code public function getDisplayTab($view) { $build = array(); $display_id = $this->displayID; $display = $view->getExecutable()->displayHandlers->get($display_id); // If the plugin doesn't exist, display an error