ElementInfoManager::$elementInfo

Stores the available element information. Type: array File core/lib/Drupal/Core/Render/ElementInfoManager.php, line 31 Class ElementInfoManager Provides a plugin manager for element plugins. Namespace Drupal\Core\Render Code protected $elementInfo;

AdminController

Returns responses for comment module administrative routes. Hierarchy class \Drupal\Core\Controller\ControllerBase implements ContainerInjectionInterface uses LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\comment\Controller\AdminController File core/modules/comment/src/Controller/AdminController.php, line 13 Namespace Drupal\comment\Controller Members Name Modifiers Type Description AdminController::$f

editor_file_download

editor_file_download($uri) Implements hook_file_download(). See also file_file_download() file_get_file_references() File core/modules/editor/editor.module, line 476 Adds bindings for client-side "text editors" to text formats. Code function editor_file_download($uri) { // Get the file record based on the URI. If not in the database just return. /** @var \Drupal\file\FileInterface[] $files */ $files = \Drupal::entityTypeManager() ->getStorage('file') ->loadByProperties(['

ConfigInstaller::createConfiguration

protected ConfigInstaller::createConfiguration($collection, array $config_to_create) Creates configuration in a collection based on the provided list. Parameters string $collection: The configuration collection. array $config_to_create: An array of configuration data to create, keyed by name. File core/lib/Drupal/Core/Config/ConfigInstaller.php, line 265 Class ConfigInstaller Namespace Drupal\Core\Config Code protected function createConfiguration($collection, array $config_to_create

ConfigNamesMapper::getOverviewRoute

public ConfigNamesMapper::getOverviewRoute() Returns the route object for a translation overview route. Return value \Symfony\Component\Routing\Route The route object for the translation page. Overrides ConfigMapperInterface::getOverviewRoute File core/modules/config_translation/src/ConfigNamesMapper.php, line 231 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code public function getOverviewRoute() { $route = new Route( $this

ElementInterface

Provides an interface for configuration translation form elements. Hierarchy interface \Drupal\config_translation\FormElement\ElementInterface File core/modules/config_translation/src/FormElement/ElementInterface.php, line 13 Namespace Drupal\config_translation\FormElement Members Name Modifiers Type Description ElementInterface::create public static function Creates a form element instance from a schema definition. ElementInterface::getTranslationBuild public func

EntityRepository::loadEntityByConfigTarget

public EntityRepository::loadEntityByConfigTarget($entity_type_id, $target) Loads an entity by the config target identifier. Parameters string $entity_type_id: The entity type ID to load from. string $target: The configuration target to load, as returned from \Drupal\Core\Entity\EntityInterface::getConfigTarget(). Return value \Drupal\Core\Entity\EntityInterface|null The entity object, or NULL if there is no entity with the given config target identifier. Throws \Drupal\Core\Entity\EntitySto

Merge::$needsUpdate

Flag indicating whether an UPDATE is necessary. Type: bool File core/lib/Drupal/Core/Database/Query/Merge.php, line 122 Class Merge General class for an abstracted MERGE query operation. Namespace Drupal\Core\Database\Query Code protected $needsUpdate = FALSE;

ViewUI::id

public ViewUI::id() Gets the identifier. Return value string|int|null The entity identifier, or NULL if the object does not yet have an identifier. Overrides EntityInterface::id File core/modules/views_ui/src/ViewUI.php, line 908 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function id() { return $this->storage->id(); }

SqlContentEntityStorage::buildQuery

protected SqlContentEntityStorage::buildQuery($ids, $revision_id = FALSE) Builds the query to load the entity. This has full revision support. For entities requiring special queries, the class can be extended, and the default query can be constructed by calling parent::buildQuery(). This is usually necessary when the object being loaded needs to be augmented with additional data from another table, such as loading node type into comments or vocabulary machine name into terms, however it can als