OverviewTerms

Provides terms overview form for a taxonomy vocabulary. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\taxonomy\Form\OverviewTerms File core/modules/taxonomy/src/Form/OverviewTerms.php, line 15 Namespace Drupal\taxonomy\Form Members Name Modifiers Type Description Dependenc

CsrfTokenGenerator::$privateKey

The private key service. Type: \Drupal\Core\PrivateKey File core/lib/Drupal/Core/Access/CsrfTokenGenerator.php, line 22 Class CsrfTokenGenerator Generates and validates CSRF tokens. Namespace Drupal\Core\Access Code protected $privateKey;

file_save_upload

file_save_upload($form_field_name, $validators = array(), $destination = FALSE, $delta = NULL, $replace = FILE_EXISTS_RENAME) Saves file uploads to a new location. The files will be added to the {file_managed} table as temporary files. Temporary files are periodically cleaned. Use the 'file.usage' service to register the usage of the file which will automatically mark it as permanent. Parameters string $form_field_name: A string that is the associative array key of the upload form element in t

Url::$routeName

The route name. Type: string File core/lib/Drupal/Core/Url.php, line 46 Class Url Defines an object that holds information about a URL. Namespace Drupal\Core Code protected $routeName;

template_preprocess_views_view_fields

template_preprocess_views_view_fields(&$variables) Prepares variables for views fields templates. Default template: views-view-fields.html.twig. Parameters array $variables: An associative array containing: view: The view object. options: An array of options. Each option contains: inline: An array that contains the fields that are to be displayed inline. default_field_elements: If default field wrapper elements are to be provided. hide_empty: Whether the field is to be hidden if empty

update_authorize_update_batch_finished

update_authorize_update_batch_finished($success, $results) Batch callback: Performs actions when the authorized update batch is done. This processes the results and stashes them into SESSION such that authorize.php will render a report. Also responsible for putting the site back online and clearing the update status storage after a successful update. Parameters $success: TRUE if the batch operation was successful; FALSE if there were errors. $results: An associative array of results from the b

PhpBackend::deleteAll

public PhpBackend::deleteAll() Deletes all cache items in a bin. Overrides CacheBackendInterface::deleteAll See also \Drupal\Core\Cache\CacheBackendInterface::invalidateAll() \Drupal\Core\Cache\CacheBackendInterface::delete() \Drupal\Core\Cache\CacheBackendInterface::deleteMultiple() File core/lib/Drupal/Core/Cache/PhpBackend.php, line 177 Class PhpBackend Defines a PHP cache implementation. Namespace Drupal\Core\Cache Code public function deleteAll() { $this->storage()->delet

BlockContentViewsData

Provides the views data for the block_content entity type. Hierarchy class \Drupal\views\EntityViewsData implements EntityHandlerInterface, EntityViewsDataInterface uses StringTranslationTraitclass \Drupal\block_content\BlockContentViewsData File core/modules/block_content/src/BlockContentViewsData.php, line 10 Namespace Drupal\block_content Members Name Modifiers Type Description BlockContentViewsData::getViewsData public function Returns views data for the entity type

node_type_get_names

node_type_get_names() Returns a list of available node type names. This list can include types that are queued for addition or deletion. Return value string[] An array of node type labels, keyed by the node type name. File core/modules/node/node.module, line 259 The core module that allows content to be submitted to the site. Code function node_type_get_names() { return array_map(function($bundle_info) { return $bundle_info['label']; }, \Drupal::entityManager()->getBundleInfo('nod

FieldItemList::getLangcode

public FieldItemList::getLangcode() Gets the langcode of the field values held in the object. Return value string The langcode. Overrides FieldItemListInterface::getLangcode File core/lib/Drupal/Core/Field/FieldItemList.php, line 62 Class FieldItemList Represents an entity field; that is, a list of field item objects. Namespace Drupal\Core\Field Code public function getLangcode() { return $this->langcode; }