HtmlResponseAttachmentsProcessor::$moduleHandler

The module handler service. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php, line 81 Class HtmlResponseAttachmentsProcessor Processes attachments of HTML responses. Namespace Drupal\Core\Render Code protected $moduleHandler;

color_block_view_system_branding_block_alter

color_block_view_system_branding_block_alter(array &$build, BlockPluginInterface $block) Implements hook_block_view_BASE_BLOCK_ID_alter(). File core/modules/color/color.module, line 113 Allows users to change the color scheme of themes. Code function color_block_view_system_branding_block_alter(array &$build, BlockPluginInterface $block) { $build['#pre_render'][] = 'color_block_view_pre_render'; }

FieldConfigDeleteForm::buildForm

public FieldConfigDeleteForm::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 EntityDeleteForm::buildForm File core/modules/field_ui/src/Form/FieldConfigDeleteForm.php, line 47 Class FieldConfigDeleteForm Provides a form for removing a field from a bundl

SiteConfigureForm::create

public static SiteConfigureForm::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 servic

EntityTypeRepository::__construct

public EntityTypeRepository::__construct(EntityTypeManagerInterface $entity_type_manager) Constructs a new EntityTypeRepository. Parameters \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager. File core/lib/Drupal/Core/Entity/EntityTypeRepository.php, line 38 Class EntityTypeRepository Provides helper methods for loading entity types. Namespace Drupal\Core\Entity Code public function __construct(EntityTypeManagerInterface $entity_type_manager)

ManagedFile::getInfo

public ManagedFile::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides ElementInterface::getInfo File core/modules/file/src/Element/ManagedFile.php, line 27 Class ManagedFile Provides an AJAX/progress aware widget for uploading and saving a file. Namespace Drupal\fil

table.html.twig

Default theme implementation to display a table. Available variables: attributes: HTML attributes to apply to the <table> tag. caption: A localized string for the <caption> tag. colgroups: Column groups. Each group contains the following properties: attributes: HTML attributes to apply to the <col> tag. Note: Drupal currently supports only one table header row, see https://www.drupal.org/node/893530 and http://api.drupal.org/api/drupal/includes!theme.inc/function/theme_tab

LocalActionManager::$controllerResolver

A controller resolver object. Type: \Symfony\Component\HttpKernel\Controller\ControllerResolverInterface File core/lib/Drupal/Core/Menu/LocalActionManager.php, line 55 Class LocalActionManager Provides the default local action manager using YML as primary definition. Namespace Drupal\Core\Menu Code protected $controllerResolver;

BaseFieldDefinition::getDefaultValue

public BaseFieldDefinition::getDefaultValue(FieldableEntityInterface $entity) Returns the default value for the field in a newly created entity. This method computes the runtime default value for a field in a given entity. To access the raw properties assigned to the field definition, ::getDefaultValueLiteral() or ::getDefaultValueCallback() should be used instead. Parameters \Drupal\Core\Entity\FieldableEntityInterface $entity: The entity for which the default value is generated. Return value

FormStateInterface::setRequestMethod

public FormStateInterface::setRequestMethod($method) Sets the HTTP method used by the request that is building the form. Parameters string $method: Can be any valid HTTP method, such as GET, POST, HEAD, etc. Return value $this See also \Drupal\Core\Form\FormStateInterface::setMethod() File core/lib/Drupal/Core/Form/FormStateInterface.php, line 778 Class FormStateInterface Provides an interface for an object containing the current state of a form. Namespace Drupal\Core\Form Code publ