UpdateManager::$updateSettings

The update settings Type: \Drupal\Core\Config\Config File core/modules/update/src/UpdateManager.php, line 26 Class UpdateManager Default implementation of UpdateManagerInterface. Namespace Drupal\update Code protected $updateSettings;

FileStorage::writeable

public FileStorage::writeable() Whether this is a writeable storage. Return value bool Overrides PhpStorageInterface::writeable File core/lib/Drupal/Component/PhpStorage/FileStorage.php, line 200 Class FileStorage Stores the code as regular PHP files. Namespace Drupal\Component\PhpStorage Code public function writeable() { return TRUE; }

Textfield::valueCallback

public static Textfield::valueCallback(&$element, $input, FormStateInterface $form_state) Determines how user input is mapped to an element's #value property. Parameters array $element: An associative array containing the properties of the element. mixed $input: The incoming input to populate the form element. If this is FALSE, the element's default value should be returned. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value mixed The value to as

Html::serialize

public static Html::serialize(\DOMDocument $document) Converts the body of a \DOMDocument back to an HTML snippet. The function serializes the body part of a \DOMDocument back to an (X)HTML snippet. The resulting (X)HTML snippet will be properly formatted to be compatible with HTML user agents. Parameters \DOMDocument $document: A \DOMDocument object to serialize, only the tags below the first <body> node will be converted. Return value string A valid (X)HTML snippet, as a string. File

ViewsData::clear

public ViewsData::clear() Clears the class storage and cache. File core/modules/views/src/ViewsData.php, line 329 Class ViewsData Class to manage and lazy load cached views data. Namespace Drupal\views Code public function clear() { $this->storage = array(); $this->allStorage = array(); $this->fullyLoaded = FALSE; Cache::invalidateTags(array('views_data')); }

SiteConfigureForm::buildForm

public SiteConfigureForm::buildForm(array $form, FormStateInterface $form_state) Form constructor. 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 array The form structure. Overrides ConfigFormBase::buildForm File core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php, line 120 Class SiteConfigureForm Provides the site configuration form. Namespace Drupal

ImageStyleEditForm::form

public ImageStyleEditForm::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides ImageStyleFormBase::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/image/src/Form/ImageStyleEditForm.php, line 50 Class ImageStyleEditForm Controller for image style edit form. Namespace Drupal\image\Form Code public function form(array $form, FormStateInterface $form_state) { $user_

StatementEmpty::fetchAssoc

public StatementEmpty::fetchAssoc() Fetches the next row and returns it as an associative array. This method corresponds to PDOStatement::fetchObject(), but for associative arrays. For some reason PDOStatement does not have a corresponding array helper method, so one is added. Return value An associative array, or FALSE if there is no next row. Overrides StatementInterface::fetchAssoc File core/lib/Drupal/Core/Database/StatementEmpty.php, line 81 Class StatementEmpty Empty implementation

OptimizedPhpArrayDumper::dump

public OptimizedPhpArrayDumper::dump(array $options = array()) File core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php, line 51 Class OptimizedPhpArrayDumper OptimizedPhpArrayDumper dumps a service container as a serialized PHP array. Namespace Drupal\Component\DependencyInjection\Dumper Code public function dump(array $options = array()) { return serialize($this->getArray()); }

db_add_primary_key

db_add_primary_key($table, $fields) Adds a primary key to a database table. Parameters $table: Name of the table to be altered. $fields: Array of fields for the primary key. Deprecated as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container, get its schema driver, and call addPrimaryKey() on it. For example, $injected_database->schema()->addPrimaryKey($table, $fields); See also \Drupal\Core\Database\Schema: