Container

Provides a container optimized for Drupal's needs. This container implementation is compatible with the default Symfony dependency injection container and similar to the Symfony ContainerBuilder class, but optimized for speed. It is based on a PHP array container definition dumped as a performance-optimized machine-readable format. The best way to initialize this container is to use a Container Builder, compile it and then retrieve the definition via \Drupal\Component\DependencyInjection\Dumper

BookManager

Defines a book manager. Hierarchy class \Drupal\book\BookManager implements BookManagerInterface uses StringTranslationTrait File core/modules/book/src/BookManager.php, line 20 Namespace Drupal\book Members Name Modifiers Type Description BookManager::$bookOutlineStorage protected property Book outline storage. BookManager::$books protected property Books Array. BookManager::$bookTreeFlattened protected property Stores flattened book trees. BookManager:

VocabularyDeleteForm

Provides a deletion confirmation form for taxonomy vocabulary. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\EntityConfirmFormBase implements ConfirmFormInterfaceclass \Drupal\Core\Entity\EntityDeleteForm uses Ent

FeedForm

Form handler for the aggregator feed edit forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\ContentEntityForm implements ContentEntityFormInterfaceclass \Drupal\aggregator\FeedForm File core/modules/aggre

NodeForm::form

public NodeForm::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides ContentEntityForm::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/node/src/NodeForm.php, line 67 Class NodeForm Form handler for the node edit forms. Namespace Drupal\node Code public function form(array $form, FormStateInterface $form_state) { // Try to restore from temp store, this must be d

template_preprocess_file_link

template_preprocess_file_link(&$variables) Prepares variables for file link templates. Default template: file-link.html.twig. Parameters array $variables: An associative array containing: file: A file object to which the link will be created. icon_directory: (optional) A path to a directory of icons to be used for files. Defaults to the value of the "icon.directory" variable. description: A description to be displayed instead of the filename. attributes: An associative array of attribu

ForumManager::MOST_POPULAR_FIRST

Forum sort order, posts with most comments first. File core/modules/forum/src/ForumManager.php, line 38 Class ForumManager Provides forum manager service. Namespace Drupal\forum Code const MOST_POPULAR_FIRST = 3;

theme_get_setting

theme_get_setting($setting_name, $theme = NULL) Retrieves a setting for the current theme or for a given theme. The final setting is obtained from the last value found in the following sources: the saved values from the global theme settings form the saved values from the theme's settings form To only retrieve the default global theme setting, an empty string should be given for $theme. Parameters $setting_name: The name of the setting to be retrieved. $theme: The name of a given theme; defa

RelationLinkManager::$cache

Type: \Drupal\Core\Cache\CacheBackendInterface; File core/modules/rest/src/LinkManager/RelationLinkManager.php, line 18 Class RelationLinkManager Namespace Drupal\rest\LinkManager Code protected $cache;

FieldConfigAccessControlHandler

Defines the access control handler for the field entity type. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityAccessControlHandler implements EntityAccessControlHandlerInterfaceclass \Drupal\field\FieldConfigAccessControlHandler See also \Drupal\field\Entity\FieldConfig File core/modules/field/src/FieldConfigAccessControlHandler.php, line 15 Namespace Drupal\field Members Name Modifiers