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

hook_locale_translation_projects_alter

hook_locale_translation_projects_alter(&$projects) Alter the list of projects to be updated by locale's interface translation. Locale module attempts to update the translation of those modules returned by \Drupal\Update\UpdateManager::getProjects(). Using this hook, the data returned by \Drupal\Update\UpdateManager::getProjects() can be altered or extended. Modules or distributions that use a dedicated translation server should use this hook to specify the interface translation server patte

FieldStorageConfigInterface::getType

public FieldStorageConfigInterface::getType() Returns the field type. Return value string The field type, i.e. the id of a field type plugin. For example 'text'. Overrides FieldStorageDefinitionInterface::getType File core/modules/field/src/FieldStorageConfigInterface.php, line 19 Class FieldStorageConfigInterface Provides an interface defining a field storage entity. Namespace Drupal\field Code public function getType();

ModuleHandlerInterface::loadAll

public ModuleHandlerInterface::loadAll() Loads all enabled modules. File core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php, line 30 Class ModuleHandlerInterface Interface for classes that manage a set of enabled modules. Namespace Drupal\Core\Extension Code public function loadAll();

DatabaseBackend::removeBin

public DatabaseBackend::removeBin() Remove a cache bin. Overrides CacheBackendInterface::removeBin File core/lib/Drupal/Core/Cache/DatabaseBackend.php, line 344 Class DatabaseBackend Defines a default cache implementation. Namespace Drupal\Core\Cache Code public function removeBin() { try { $this->connection->schema()->dropTable($this->bin); } catch (\Exception $e) { $this->catchException($e); } }

EditorImageDialog::getFormId

public EditorImageDialog::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/editor/src/Form/EditorImageDialog.php, line 50 Class EditorImageDialog Provides an image dialog for text editors. Namespace Drupal\editor\Form Code public function getFormId() { return 'editor_image_dialog'; }

Display::getFormKey

public Display::getFormKey() Returns the key that represents this form. Return value string The form key used in the URL, e.g., the string 'add-handler' in 'admin/structure/views/%/add-handler/%/%/%'. Overrides ViewsFormInterface::getFormKey File core/modules/views_ui/src/Form/Ajax/Display.php, line 23 Class Display Provides a form for editing the Views display. Namespace Drupal\views_ui\Form\Ajax Code public function getFormKey() { return 'display'; }

VariantBase::buildConfigurationForm

public VariantBase::buildConfigurationForm(array $form, FormStateInterface $form_state) Form constructor. Plugin forms are embedded in other forms. In order to know where the plugin form is located in the parent form, #parents and #array_parents must be known, but these are not available during the initial build phase. In order to have these properties available when building the plugin form's elements, let this method return a form element that has a #process callback and build the rest of the