drupal_load_updates

drupal_load_updates() Loads .install files for installed modules to initialize the update system. File core/includes/install.inc, line 79 API functions for installing modules and themes. Code function drupal_load_updates() { foreach (drupal_get_installed_schema_version(NULL, FALSE, TRUE) as $module => $schema_version) { if ($schema_version > -1) { module_load_install($module); } } }

tablesort_get_order

tablesort_get_order($headers) Determines the current sort criterion. Parameters $headers: An array of column headers in the format described in '#type' => 'table'. Return value An associative array describing the criterion, containing the keys: "name": The localized title of the table column. "sql": The name of the database field to sort on. File core/includes/tablesort.inc, line 97 Functions to aid in the creation of sortable tables. Code function tablesort_get_order($headers) { $

SCHEMA_UNINSTALLED

Indicates that a module has not been installed yet. Related topics Schema API API to handle database schemas. File core/includes/schema.inc, line 16 Schema API handling functions. Code const SCHEMA_UNINSTALLED = -1;

InvalidLookupKeyException

Exception thrown when a config entity uses an invalid lookup key. Hierarchy class \Drupal\Core\Config\Entity\Query\InvalidLookupKeyException extends \LogicException File core/lib/Drupal/Core/Config/Entity/Query/InvalidLookupKeyException.php, line 8 Namespace Drupal\Core\Config\Entity\Query Members

BlockListBuilder::submitForm

public BlockListBuilder::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 FormInterface::submitForm File core/modules/block/src/BlockListBuilder.php, line 357 Class BlockListBuilder Defines a class to build a listing of block entities. Namespace Drupal\block Code public functio

UserInterface::setUsername

public UserInterface::setUsername($username) Sets the username of this account. Parameters string $username: The new user name. Return value \Drupal\user\UserInterface The called user entity. File core/modules/user/src/UserInterface.php, line 52 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function setUsername($username);

DateTimePlus::FORMAT

File core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 30 Class DateTimePlus Wraps DateTime(). Namespace Drupal\Component\Datetime Code const FORMAT = 'Y-m-d H:i:s';

DynamicPageCacheSubscriber::$dynamicPageCacheRedirectRenderArray

Dynamic Page Cache's redirect render array. Type: array File core/modules/dynamic_page_cache/src/EventSubscriber/DynamicPageCacheSubscriber.php, line 75 Class DynamicPageCacheSubscriber Returns cached responses as early and avoiding as much work as possible. Namespace Drupal\dynamic_page_cache\EventSubscriber Code protected $dynamicPageCacheRedirectRenderArray = [ '#cache' => [ 'keys' => ['response'], 'contexts' => [ 'route', // Some routes' controllers r

NodeViewController::view

public NodeViewController::view(EntityInterface $node, $view_mode = 'full', $langcode = NULL) Provides a page to render a single entity. Parameters \Drupal\Core\Entity\EntityInterface $_entity: The Entity to be rendered. Note this variable is named $_entity rather than $entity to prevent collisions with other named placeholders in the route. string $view_mode: (optional) The view mode that should be used to display the entity. Defaults to 'full'. Return value array A render array as expected

EntityViewController

Defines a generic controller to render a single entity. Hierarchy class \Drupal\Core\Entity\Controller\EntityViewController implements ContainerInjectionInterface File core/lib/Drupal/Core/Entity/Controller/EntityViewController.php, line 15 Namespace Drupal\Core\Entity\Controller Members Name Modifiers Type Description EntityViewController::$entityManager protected property The entity manager EntityViewController::$renderer protected property The renderer service