Database::parseConnectionInfo

final public static Database::parseConnectionInfo(array $info) Process the configuration file for database information. Parameters array $info: The database connection information, as defined in settings.php. The structure of this array depends on the database driver it is connecting to. File core/lib/Drupal/Core/Database/Database.php, line 207 Class Database Primary front-controller for the database system. Namespace Drupal\Core\Database Code final public static function parseConnect

update_storage_clear

update_storage_clear() Invalidates stored data relating to update status. File core/modules/update/update.module, line 641 Handles updates of Drupal core and contributed projects. Code function update_storage_clear() { \Drupal::keyValueExpirable('update')->deleteAll(); \Drupal::keyValueExpirable('update_available_release')->deleteAll(); }

EnforcedResponseException::getResponse

public EnforcedResponseException::getResponse() Return the response to be enforced. @returns \Symfony\Component\HttpFoundation\Response $response The response to be enforced. File core/lib/Drupal/Core/Form/EnforcedResponseException.php, line 43 Class EnforcedResponseException Custom exception to break out of the main request and enforce a response. Namespace Drupal\Core\Form Code public function getResponse() { return $this->response; }

Url

Provides a form element for input of a URL. Properties: #default_value: A valid URL string. Usage example: $form['homepage'] = array( '#type' => 'url', '#title' => $this->t('Home Page'), '#size' => 30, ... ); Plugin annotation @FormElement("url") Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\

LocaleEvent::getLangCodes

public LocaleEvent::getLangCodes() Returns the language codes. Return value string[] $langCodes File core/modules/locale/src/LocaleEvent.php, line 44 Class LocaleEvent Defines a Locale event. Namespace Drupal\locale Code public function getLangCodes() { return $this->langCodes; }

ViewListBuilder::buildHeader

public ViewListBuilder::buildHeader() Builds the header row for the entity listing. Return value array A render array structure of header strings. Overrides EntityListBuilder::buildHeader See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/views_ui/src/ViewListBuilder.php, line 126 Class ViewListBuilder Defines a class to build a listing of view entities. Namespace Drupal\views_ui Code public function buildHeader() { return array( 'view_name' => array(

EnforcedResponseException::$response

The response to be enforced. Type: \Symfony\Component\HttpFoundation\Response File core/lib/Drupal/Core/Form/EnforcedResponseException.php, line 17 Class EnforcedResponseException Custom exception to break out of the main request and enforce a response. Namespace Drupal\Core\Form Code protected $response;

LocaleDefaultConfigStorage::$languageManager

The language manager. Type: \Drupal\language\ConfigurableLanguageManagerInterface File core/modules/locale/src/LocaleDefaultConfigStorage.php, line 36 Class LocaleDefaultConfigStorage Provides access to default configuration for locale integration. Namespace Drupal\locale Code protected $languageManager;

node_revision_load

node_revision_load($vid = NULL) Loads a node revision from the database. Parameters int $vid: The node revision id. Return value \Drupal\node\NodeInterface|null A fully-populated node entity, or NULL if the node is not found. File core/modules/node/node.module, line 459 The core module that allows content to be submitted to the site. Code function node_revision_load($vid = NULL) { return entity_revision_load('node', $vid); }

Entity::$typedData

A typed data object wrapping this entity. Type: \Drupal\Core\TypedData\ComplexDataInterface File core/lib/Drupal/Core/Entity/Entity.php, line 47 Class Entity Defines a base entity class. Namespace Drupal\Core\Entity Code protected $typedData;