FormatterInterface::settingsForm

public FormatterInterface::settingsForm(array $form, FormStateInterface $form_state) Returns a form to configure settings for the formatter. Invoked from \Drupal\field_ui\Form\EntityDisplayFormBase to allow administrators to configure the formatter. The field_ui module takes care of handling submitted form values. Parameters array $form: The form where the settings form is being included in. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array Th

DataReferenceInterface::getTargetIdentifier

public DataReferenceInterface::getTargetIdentifier() Gets the identifier of the referenced data. Return value int|string|null The identifier of the referenced data, or NULL if the reference is unset. File core/lib/Drupal/Core/TypedData/DataReferenceInterface.php, line 26 Class DataReferenceInterface Interface for typed data references. Namespace Drupal\Core\TypedData Code public function getTargetIdentifier();

SqlContentEntityStorageSchema::loadEntitySchemaData

protected SqlContentEntityStorageSchema::loadEntitySchemaData(EntityTypeInterface $entity_type) Loads stored schema data for the given entity type definition. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. Return value array The entity schema data array. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 773 Class SqlContentEntityStorageSchema Defines a schema handler that supports revisionable, translatable entities

RoleInterface::AUTHENTICATED_ID

Role ID for authenticated users; should match what's in the "role" table. File core/modules/user/src/RoleInterface.php, line 23 Class RoleInterface Provides an interface defining a user role entity. Namespace Drupal\user Code const AUTHENTICATED_ID = AccountInterface::AUTHENTICATED_ROLE;

File::preRenderFile

public static File::preRenderFile($element) Prepares a #type 'file' render element for input.html.twig. For assistance with handling the uploaded file correctly, see the API provided by file.inc. Parameters array $element: An associative array containing the properties of the element. Properties used: #title, #name, #size, #description, #required, #attributes. Return value array The $element with prepared variables ready for input.html.twig. File core/lib/Drupal/Core/Render/Element/File.php,

Session::handle

public Session::handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE) Handles a Request to convert it to a Response. When $catch is true, the implementation must catch all exceptions and do its best to convert them to a Response instance. Parameters Request $request A Request instance: int $type The type of the request: (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST) bool $catch Whether to catch exceptions or not: Return value Response A Respon

SystemController::$menuLinkTree

The menu link tree service. Type: \Drupal\Core\Menu\MenuLinkTreeInterface File core/modules/system/src/Controller/SystemController.php, line 62 Class SystemController Returns responses for System routes. Namespace Drupal\system\Controller Code protected $menuLinkTree;

Registry::reset

public Registry::reset() Invalidates theme registry caches. To be called when the list of enabled extensions is changed. File core/lib/Drupal/Core/Theme/Registry.php, line 723 Class Registry Defines the theme registry service. Namespace Drupal\Core\Theme Code public function reset() { // Reset the runtime registry. foreach ($this->runtimeRegistry as $runtime_registry) { $runtime_registry->clear(); } $this->runtimeRegistry = []; $this->registry = []; Cache::

twig_extension

twig_extension() Implements hook_extension(). File core/themes/engines/twig/twig.engine, line 24 Handles integration of Twig templates with the Drupal theme system. Code function twig_extension() { return '.html.twig'; }

ParamConverterManager::setRouteParameterConverters

public ParamConverterManager::setRouteParameterConverters(RouteCollection $routes) Saves a list of applicable converters to each route. Parameters \Symfony\Component\Routing\RouteCollection $routes: A collection of routes to apply converters to. Overrides ParamConverterManagerInterface::setRouteParameterConverters File core/lib/Drupal/Core/ParamConverter/ParamConverterManager.php, line 46 Class ParamConverterManager Manages converter services for converting request parameters to full obje