BatchController::create

public static BatchController::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service

SearchPageForm

Provides a search form for site wide search. Search plugins can define method searchFormAlter() to alter the form. If they have additional or substitute fields, they will need to override the form submit, making sure to redirect with a GET parameter of 'keys' included, to trigger the search being processed by the controller, and adding in any additional query parameters they need to execute search. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface

FilterFormatListBuilder

Defines a class to build a listing of filter format entities. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityListBuilder implements EntityHandlerInterface, EntityListBuilderInterfaceclass \Drupal\Core\Config\Entity\ConfigEntityListBuilderclass \Drupal\Core\Config\Entity\DraggableListBuilder implements FormInterfaceclass \Drupal\filter\FilterFormatListBuilder See also \Drupal\filter\Entity\Fil

Vocabulary::$vid

The taxonomy vocabulary ID. Type: string File core/modules/taxonomy/src/Entity/Vocabulary.php, line 56 Class Vocabulary Defines the taxonomy vocabulary entity. Namespace Drupal\taxonomy\Entity Code protected $vid;

template_preprocess_field_multiple_value_form

template_preprocess_field_multiple_value_form(&$variables) Prepares variables for individual form element templates. Default template: field-multiple-value-form.html.twig. Combines multiple values into a table with drag-n-drop reordering. Parameters array $variables: An associative array containing: element: A render element representing the form element. File core/includes/theme.inc, line 1587 The theme system, which controls the output of Drupal. Code function template_preprocess_fi

MenuTreeStorage::$definitions

Stores definitions that have already been loaded for better performance. An array of plugin definition arrays, keyed by plugin ID. Type: array File core/lib/Drupal/Core/Menu/MenuTreeStorage.php, line 67 Class MenuTreeStorage Provides a menu tree storage using the database. Namespace Drupal\Core\Menu Code protected $definitions = array();

AssetResolver::getCssAssets

public AssetResolver::getCssAssets(AttachedAssetsInterface $assets, $optimize) Returns the CSS assets for the current response's libraries. It returns the CSS assets in order, according to the SMACSS categories specified in the assets' weights: CSS_BASE CSS_LAYOUT CSS_COMPONENT CSS_STATE CSS_THEME This ensures proper cascading of styles so themes can easily override module styles through CSS selectors. Themes may replace module-defined CSS files by adding a stylesheet with the same filename.

Entity::$enforceIsNew

Boolean indicating whether the entity should be forced to be new. Type: bool File core/lib/Drupal/Core/Entity/Entity.php, line 40 Class Entity Defines a base entity class. Namespace Drupal\Core\Entity Code protected $enforceIsNew;

UnchangingCacheableDependencyTrait::getCacheContexts

public UnchangingCacheableDependencyTrait::getCacheContexts() The cache contexts associated with this object. These identify a specific variation/representation of the object. Cache contexts are tokens: placeholders that are converted to cache keys by the @cache_contexts_manager service. The replacement value depends on the request context (the current URL, language, and so on). They're converted before storing an object in cache. Return value string[] An array of cache context tokens, used to

EntityTypeEvents::DELETE

The name of the event triggered when an existing entity type is deleted. This event allows modules to react whenever an existing entity type is deleted. The event listener method receives a \Drupal\Core\Entity\EntityTypeEvent instance. See also \Drupal\Core\Entity\EntityTypeEvent \Drupal\Core\Entity\EntityManager::onEntityTypeDelete() \Drupal\Core\Entity\EntityTypeEventSubscriberTrait \Drupal\views\EventSubscriber\ViewsEntitySchemaSubscriber::onEntityTypeDelete() Related topics Events Overview