update_set_schema

update_set_schema($module, $schema_version) Forces a module to a given schema version. This function is rarely necessary. Parameters string $module: Name of the module. string $schema_version: The schema version the module should be set to. File core/includes/update.inc, line 113 Drupal database update API. Code function update_set_schema($module, $schema_version) { \Drupal::keyValue('system.schema')->set($module, $schema_version); // system_list_reset() is in module.inc but that woul

EditDetails::submitForm

public EditDetails::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides ViewsFormBase::submitForm File core/modules/views_ui/src/Form/Ajax/EditDetails.php, line 71 Class EditDetails Provides a form for editing the details of a View. Namespace Drupal\views_ui\Form\Ajax Code public

DateFormatFormBase::exists

public DateFormatFormBase::exists($entity_id, array $element) Checks for an existing date format. Parameters string|int $entity_id: The entity ID. array $element: The form element. Return value bool TRUE if this format already exists, FALSE otherwise. File core/modules/system/src/Form/DateFormatFormBase.php, line 68 Class DateFormatFormBase Provides a base form for date formats. Namespace Drupal\system\Form Code public function exists($entity_id, array $element) { return (bool) $th

StatementPrefetch::fetchAllAssoc

public StatementPrefetch::fetchAllAssoc($key, $fetch_style = NULL) Returns the result set as an associative array keyed by the given field. If the given key appears multiple times, later records will overwrite earlier ones. Parameters $key: The name of the field on which to index the array. $fetch: The fetchmode to use. If set to PDO::FETCH_ASSOC, PDO::FETCH_NUM, or PDO::FETCH_BOTH the returned value with be an array of arrays. For any other value it will be an array of objects. By default, th

RouteSubscriber::$state

The state key value store. Type: \Drupal\Core\State\StateInterface File core/modules/views/src/EventSubscriber/RouteSubscriber.php, line 45 Class RouteSubscriber Builds up the routes of all views. Namespace Drupal\views\EventSubscriber Code protected $state;

ReplaceTitleCommand::$title

The page title to replace. Type: string File core/modules/views/src/Ajax/ReplaceTitleCommand.php, line 19 Class ReplaceTitleCommand Provides an AJAX command for replacing the page title. Namespace Drupal\views\Ajax Code protected $title;

EntityTypeListener::onEntityTypeCreate

public EntityTypeListener::onEntityTypeCreate(EntityTypeInterface $entity_type) Reacts to the creation of the entity type. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type being created. Overrides EntityTypeListenerInterface::onEntityTypeCreate File core/lib/Drupal/Core/Entity/EntityTypeListener.php, line 64 Class EntityTypeListener Reacts to entity type CRUD on behalf of the Entity system. Namespace Drupal\Core\Entity Code public function onEntityTypeC

AliasStorageInterface::load

public AliasStorageInterface::load($conditions) Fetches a specific URL alias from the database. The default implementation performs case-insensitive matching on the 'source' and 'alias' strings. Parameters array $conditions: An array of query conditions. Return value array|false FALSE if no alias was found or an associative array containing the following keys: source (string): The internal system path with a starting slash. alias (string): The URL alias with a starting slash. pid (int): Un

ViewsExposedForm::$short_title

(optional) The short title used in the views UI. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/views/src/Annotation/ViewsExposedForm.php, line 40 Class ViewsExposedForm Defines a Plugin annotation object for views exposed form plugins. Namespace Drupal\views\Annotation Code public $short_title = '';

ConfigurableLanguageManagerInterface::getStandardLanguageListWithoutConfigured

public ConfigurableLanguageManagerInterface::getStandardLanguageListWithoutConfigured() Returns the standard language list excluding already configured languages. Return value array A list of standard language names keyed by langcode. File core/modules/language/src/ConfigurableLanguageManagerInterface.php, line 92 Class ConfigurableLanguageManagerInterface Common interface for language negotiation services. Namespace Drupal\language Code public function getStandardLanguageListWithoutC