FormStateInterface::set

public FormStateInterface::set($property, $value) Sets a value to an arbitrary property. Parameters string|array $property: Properties are often stored as multi-dimensional associative arrays. If $property is a string, it will use $storage[$property] = $value. If $property is an array, each element of the array will be used as a nested key. If $property = ['foo', 'bar'] it will use $storage['foo']['bar'] = $value. mixed $value: The value to set. Return value $this File core/lib/Drupal/Core/Fo

ImportForm::getFormId

public ImportForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/locale/src/Form/ImportForm.php, line 63 Class ImportForm Form constructor for the translation import screen. Namespace Drupal\locale\Form Code public function getFormId() { return 'locale_translate_import_form'; }

Schema::dropIndex

abstract public Schema::dropIndex($table, $name) Drop an index. Parameters $table: The table to be altered. $name: The name of the index. Return value TRUE if the index was successfully dropped, FALSE if there was no index by that name to begin with. File core/lib/Drupal/Core/Database/Schema.php, line 512 Class Schema Provides a base implementation for Database Schema. Namespace Drupal\Core\Database Code abstract public function dropIndex($table, $name);

SelectExtender::conditionGroupFactory

public SelectExtender::conditionGroupFactory($conjunction = 'AND') Creates an object holding a group of conditions. See andConditionGroup() and orConditionGroup() for more. Parameters $conjunction: AND (default): this is the equivalent of andConditionGroup(). OR: this is the equivalent of andConditionGroup(). Return value \Drupal\Core\Database\Query\ConditionInterface An object holding a group of conditions. Overrides ConditionInterface::conditionGroupFactory File core/lib/Drupal/Core/Dat

template_preprocess_views_view_row_rss

template_preprocess_views_view_row_rss(&$variables) Prepares variables for views RSS item templates. Default template: views-view-row-rss.html.twig. Parameters array $variables: An associative array containing: row: The raw results rows. File core/modules/views/views.theme.inc, line 903 Preprocessors and helper functions to make theming easier. Code function template_preprocess_views_view_row_rss(&$variables) { $item = $variables['row']; $variables['title'] = $item->title;

ConfigDependencyManager::sortGraphByWeight

protected static ConfigDependencyManager::sortGraphByWeight(array $a, array $b) Sorts the dependency graph by weight and alphabetically. Parameters array $a: First item for comparison. The compared items should be associative arrays that include a 'weight' and a 'name' key. array $b: Second item for comparison. Return value int The comparison result for uasort(). Deprecated in Drupal 8.2.0, will be removed before Drupal 9.0.0. Use \Drupal\Core\Config\Entity\ConfigDependencyManager::prepareM

NegotiationBrowserForm::getFormId

public NegotiationBrowserForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/language/src/Form/NegotiationBrowserForm.php, line 48 Class NegotiationBrowserForm Configure the browser language negotiation method for this site. Namespace Drupal\language\Form Code public function getFormId() { return 'language_negotiation_configure_browser_form'; }

SqlContentEntityStorageSchema::requiresFieldStorageSchemaChanges

public SqlContentEntityStorageSchema::requiresFieldStorageSchemaChanges(FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original) Checks if the changes to the storage definition requires schema changes. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The updated field storage definition. \Drupal\Core\Field\FieldStorageDefinitionInterface $original: The original field storage definition. Return value bool TRUE if storage

DeleteForm::buildForm

public DeleteForm::buildForm(array $form, FormStateInterface $form_state, TermInterface $taxonomy_term = NULL) 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 ConfirmFormBase::buildForm File core/modules/forum/src/Form/DeleteForm.php, line 53 Class DeleteForm Builds the form to delete a forum term. Namespa

BootstrapConfigStorageFactory::get

public static BootstrapConfigStorageFactory::get($class_loader = NULL) Returns a configuration storage implementation. Parameters $class_loader: The class loader. Normally Composer's ClassLoader, as included by the front controller, but may also be decorated; e.g., \Symfony\Component\ClassLoader\ApcClassLoader. Return value \Drupal\Core\Config\StorageInterface A configuration storage implementation. File core/lib/Drupal/Core/Config/BootstrapConfigStorageFactory.php, line 24 Class Bootstra