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

BanIpManager::findAll

public BanIpManager::findAll() Finds all banned IP addresses. Return value \Drupal\Core\Database\StatementInterface The result of the database query. Overrides BanIpManagerInterface::findAll File core/modules/ban/src/BanIpManager.php, line 39 Class BanIpManager Ban IP manager. Namespace Drupal\ban Code public function findAll() { return $this->connection->query('SELECT * FROM {ban_ip}'); }

SelectInterface::havingNotExists

public SelectInterface::havingNotExists(SelectInterface $select) Sets a HAVING condition that the specified subquery returns no values. Parameters \Drupal\Core\Database\Query\SelectInterface $select: The subquery that must contain results. Return value $this File core/lib/Drupal/Core/Database/Query/SelectInterface.php, line 625 Class SelectInterface Interface definition for a Select Query object. Namespace Drupal\Core\Database\Query Code public function havingNotExists(SelectInterfac

MemoryBackendFactory::get

MemoryBackendFactory::get($bin) Gets a cache backend class for a given cache bin. Parameters string $bin: The cache bin for which a cache backend object should be returned. Return value \Drupal\Core\Cache\CacheBackendInterface The cache backend object associated with the specified bin. Overrides CacheFactoryInterface::get File core/lib/Drupal/Core/Cache/MemoryBackendFactory.php, line 17 Class MemoryBackendFactory Namespace Drupal\Core\Cache Code function get($bin) { if (!isset($th

CompiledRoute::getOptions

public CompiledRoute::getOptions() Returns the options. Return value array The options. File core/lib/Drupal/Core/Routing/CompiledRoute.php, line 116 Class CompiledRoute A compiled route contains derived information from a route object. Namespace Drupal\Core\Routing Code public function getOptions() { return $this->route->getOptions(); }

File::preDelete

public static File::preDelete(EntityStorageInterface $storage, array $entities) Acts on entities before they are deleted and before hooks are invoked. Used before the entities are deleted and before invoking the delete hook. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. \Drupal\Core\Entity\EntityInterface[] $entities: An array of entities. Overrides Entity::preDelete File core/modules/file/src/Entity/File.php, line 201 Class File Defines the fi

locale_form_language_admin_overview_form_alter

locale_form_language_admin_overview_form_alter(&$form, FormStateInterface $form_state) Implements hook_form_FORM_ID_alter() for language_admin_overview_form(). File core/modules/locale/locale.module, line 623 Enables the translation of the user interface to languages other than English. Code function locale_form_language_admin_overview_form_alter(&$form, FormStateInterface $form_state) { $languages = $form['languages']['#languages']; $total_strings = \Drupal::service('locale.stor

SqlContentEntityStorage::requiresEntityDataMigration

public SqlContentEntityStorage::requiresEntityDataMigration(EntityTypeInterface $entity_type, EntityTypeInterface $original) Checks if existing data would be lost if the schema changes were applied. If there are no schema changes needed, then no data needs to be migrated, but it is not the responsibility of this function to recheck what requiresEntityStorageSchemaChanges() checks. Rather, the meaning of what this function returns when requiresEntityStorageSchemaChanges() returns FALSE is undefi

FormStateInterface::setUserInput

public FormStateInterface::setUserInput(array $user_input) Sets the form values as though they were submitted by a user. Parameters array $user_input: An associative array of raw and unvalidated values. Return value $this File core/lib/Drupal/Core/Form/FormStateInterface.php, line 276 Class FormStateInterface Provides an interface for an object containing the current state of a form. Namespace Drupal\Core\Form Code public function setUserInput(array $user_input);

NativeUpsert::execute

public NativeUpsert::execute() Runs the query against the database. Return value \Drupal\Core\Database\StatementInterface|null A prepared statement, or NULL if the query is not valid. Overrides Upsert::execute File core/lib/Drupal/Core/Database/Driver/pgsql/NativeUpsert.php, line 17 Class NativeUpsert PostgreSQL implementation of native \Drupal\Core\Database\Query\Upsert. Namespace Drupal\Core\Database\Driver\pgsql Code public function execute() { if (!$this->preExecute()) {