Module::getSchemaUpdates

public Module::getSchemaUpdates() Returns available database schema updates once a new version is installed. Return value array File core/lib/Drupal/Core/Updater/Module.php, line 82 Class Module Defines a class for updating modules using Drupal\Core\FileTransfer\FileTransfer classes via authorize.php. Namespace Drupal\Core\Updater Code public function getSchemaUpdates() { require_once DRUPAL_ROOT . '/core/includes/install.inc'; require_once DRUPAL_ROOT . '/core/includes/update.inc

LanguageEditForm::save

public LanguageEditForm::save(array $form, FormStateInterface $form_state) Form submission handler for the 'save' action. Normally this method should be overridden to provide specific messages to the user and redirect the form after the entity has been saved. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value int Either SAVED_NEW or SAVED_UPDATED, depending on the oper

Table::getInfo

public Table::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides ElementInterface::getInfo File core/lib/Drupal/Core/Render/Element/Table.php, line 65 Class Table Provides a render element for a table. Namespace Drupal\Core\Render\Element Code public function getInf

RequestContext::$completeBaseUrl

The scheme, host and base path, for example "http://example.com/d8". Type: string File core/lib/Drupal/Core/Routing/RequestContext.php, line 22 Class RequestContext Holds information about the current request. Namespace Drupal\Core\Routing Code protected $completeBaseUrl;

FormStateDecoratorBase::setValueForElement

public FormStateDecoratorBase::setValueForElement(array $element, $value) Changes submitted form values during form validation. Use this function to change the submitted value of a form element in a form validation function, so that the changed value persists in $form_state through to the submission handlers. Note that form validation functions are specified in the '#validate' component of the form array (the value of $form['#validate'] is an array of validation function names). If the form doe

Module::postInstallTasks

public Module::postInstallTasks() Returns an array of links to pages that should be visited post operation. Return value array Links which provide actions to take after the install is finished. Overrides Updater::postInstallTasks File core/lib/Drupal/Core/Updater/Module.php, line 106 Class Module Defines a class for updating modules using Drupal\Core\FileTransfer\FileTransfer classes via authorize.php. Namespace Drupal\Core\Updater Code public function postInstallTasks() { // Since

PoMemoryWriter

Defines a Gettext PO memory writer, to be used by the installer. Hierarchy class \Drupal\Component\Gettext\PoMemoryWriter implements PoWriterInterface File core/lib/Drupal/Component/Gettext/PoMemoryWriter.php, line 8 Namespace Drupal\Component\Gettext Members Name Modifiers Type Description PoMemoryWriter::$_items private property Array to hold all PoItem elements. PoMemoryWriter::getData public function Get all stored PoItem's. PoMemoryWriter::getHeader fu

ForumManager::$entityManager

Entity manager service Type: \Drupal\Core\Entity\EntityManagerInterface File core/modules/forum/src/ForumManager.php, line 57 Class ForumManager Provides forum manager service. Namespace Drupal\forum Code protected $entityManager;

ConfigManagerInterface::getConfigCollectionInfo

public ConfigManagerInterface::getConfigCollectionInfo() Gets available collection information using the event system. Return value \Drupal\Core\Config\ConfigCollectionInfo The object which contains information about the available collections. File core/lib/Drupal/Core/Config/ConfigManagerInterface.php, line 165 Class ConfigManagerInterface Provides an interface for configuration manager. Namespace Drupal\Core\Config Code public function getConfigCollectionInfo();

JsCollectionOptimizer::deleteAll

public JsCollectionOptimizer::deleteAll() Deletes all optimized asset collections assets. Overrides AssetCollectionOptimizerInterface::deleteAll File core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php, line 179 Class JsCollectionOptimizer Optimizes JavaScript assets. Namespace Drupal\Core\Asset Code public function deleteAll() { $this->state->delete('system.js_cache_files'); $delete_stale = function($uri) { // Default stale file threshold is 30 days. if (REQUEST_TIM