Search for element

  1. Search 7.x for element
  2. Search 9.5.x for element
  3. Search 8.9.x for element
  4. Search 10.3.x for element
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Element class core/modules/editor/src/Element.php Defines a service for Text Editor's render elements.
Element class core/lib/Drupal/Core/Render/Element.php Provides helper methods for Drupal render elements.
Element class core/lib/Drupal/Core/Config/Schema/Element.php Defines a generic configuration element.

All search results

Title Object type File name Summary
Element::property function core/lib/Drupal/Core/Render/Element.php Checks if the key is a property.
Element::setAttributes function core/lib/Drupal/Core/Render/Element.php Sets HTML attributes based on element properties.
Element::setTypedDataManager function core/lib/Drupal/Core/Config/Schema/Element.php Sets the typed config manager.
Element::trustedCallbacks function core/modules/editor/src/Element.php Lists the trusted callbacks provided by the implementing class.
Element::__construct function core/modules/editor/src/Element.php Constructs a new Element object.
ElementInfoIntegrationTest class core/tests/Drupal/KernelTests/Core/Render/ElementInfoIntegrationTest.php Tests the element info.
ElementInfoIntegrationTest.php file core/tests/Drupal/KernelTests/Core/Render/ElementInfoIntegrationTest.php
ElementInfoIntegrationTest::setUp function core/tests/Drupal/KernelTests/Core/Render/ElementInfoIntegrationTest.php
ElementInfoIntegrationTest::testElementInfoByTheme function core/tests/Drupal/KernelTests/Core/Render/ElementInfoIntegrationTest.php Ensures that the element info can be altered by themes.
ElementInfoManager class core/lib/Drupal/Core/Render/ElementInfoManager.php Provides a plugin manager for element plugins.
ElementInfoManager.php file core/lib/Drupal/Core/Render/ElementInfoManager.php
ElementInfoManager::$elementInfo property core/lib/Drupal/Core/Render/ElementInfoManager.php Stores the available element information.
ElementInfoManager::$reverseMapping property core/lib/Drupal/Core/Render/ElementInfoManager.php Class => plugin id mapping.
ElementInfoManager::buildInfo function core/lib/Drupal/Core/Render/ElementInfoManager.php Builds up all element information.
ElementInfoManager::clearCachedDefinitions function core/lib/Drupal/Core/Render/ElementInfoManager.php Clears static and persistent plugin definition caches.
ElementInfoManager::createInstance function core/lib/Drupal/Core/Render/ElementInfoManager.php
ElementInfoManager::fromClass function core/lib/Drupal/Core/Render/ElementInfoManager.php Creates a render object based on the provided class and configuration.
ElementInfoManager::fromRenderable function core/lib/Drupal/Core/Render/ElementInfoManager.php Creates a render object from a render array.
ElementInfoManager::getCachedDefinitions function core/lib/Drupal/Core/Render/ElementInfoManager.php Returns the cached plugin definitions of the decorated discovery class.
ElementInfoManager::getCid function core/lib/Drupal/Core/Render/ElementInfoManager.php Returns the CID used to cache the element info.
ElementInfoManager::getDiscovery function core/lib/Drupal/Core/Render/ElementInfoManager.php Gets the plugin discovery.
ElementInfoManager::getIdFromClass function core/lib/Drupal/Core/Render/ElementInfoManager.php Get the plugin ID from the class.
ElementInfoManager::getInfo function core/lib/Drupal/Core/Render/ElementInfoManager.php Retrieves the default properties for the defined element type.
ElementInfoManager::getInfoProperty function core/lib/Drupal/Core/Render/ElementInfoManager.php Retrieves a single property for the defined element type.
ElementInfoManager::setCachedDefinitions function core/lib/Drupal/Core/Render/ElementInfoManager.php Sets a cache of plugin definitions for the decorated discovery class.
ElementInfoManager::__construct function core/lib/Drupal/Core/Render/ElementInfoManager.php Constructs an ElementInfoManager object.
ElementInfoManagerInterface interface core/lib/Drupal/Core/Render/ElementInfoManagerInterface.php Collects available render array element types.
ElementInfoManagerInterface.php file core/lib/Drupal/Core/Render/ElementInfoManagerInterface.php
ElementInfoManagerInterface::createInstance function core/lib/Drupal/Core/Render/ElementInfoManagerInterface.php
ElementInfoManagerInterface::fromClass function core/lib/Drupal/Core/Render/ElementInfoManagerInterface.php Creates a render object based on the provided class and configuration.
ElementInfoManagerInterface::fromRenderable function core/lib/Drupal/Core/Render/ElementInfoManagerInterface.php Creates a render object from a render array.
ElementInfoManagerInterface::getIdFromClass function core/lib/Drupal/Core/Render/ElementInfoManagerInterface.php Get the plugin ID from the class.
ElementInfoManagerInterface::getInfo function core/lib/Drupal/Core/Render/ElementInfoManagerInterface.php Retrieves the default properties for the defined element type.
ElementInfoManagerInterface::getInfoProperty function core/lib/Drupal/Core/Render/ElementInfoManagerInterface.php Retrieves a single property for the defined element type.
ElementInfoManagerTest class core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php @coversDefaultClass \Drupal\Core\Render\ElementInfoManager[[api-linebreak]]
@group Render
ElementInfoManagerTest.php file core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php
ElementInfoManagerTest::$cache property core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php The cache backend to use.
ElementInfoManagerTest::$elementInfo property core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php The mocked element_info.
ElementInfoManagerTest::$moduleHandler property core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php The mocked module handler.
ElementInfoManagerTest::$themeHandler property core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php The mocked theme handler.
ElementInfoManagerTest::$themeManager property core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php The mocked theme manager.
ElementInfoManagerTest::providerTestGetInfoElementPlugin function core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php Provides tests data for testGetInfoElementPlugin().
ElementInfoManagerTest::setUp function core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php @covers ::__construct[[api-linebreak]]
ElementInfoManagerTest::testGetInfoElementPlugin function core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php Tests the getInfo() method when render element plugins are used.
ElementInfoManagerTest::testGetInfoProperty function core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php @covers ::getInfoProperty[[api-linebreak]]
ElementInfoTestHooks class core/modules/system/tests/modules/element_info_test/src/Hook/ElementInfoTestHooks.php Hook implementations for element_info_test.
ElementInfoTestHooks.php file core/modules/system/tests/modules/element_info_test/src/Hook/ElementInfoTestHooks.php
ElementInfoTestHooks::elementInfoAlter function core/modules/system/tests/modules/element_info_test/src/Hook/ElementInfoTestHooks.php Implements hook_element_info_alter().
ElementInfoTestHooks::elementPluginAlter function core/modules/system/tests/modules/element_info_test/src/Hook/ElementInfoTestHooks.php Implements hook_element_plugin_alter().
ElementInfoTestNumberBuilder class core/modules/system/tests/modules/element_info_test/src/ElementInfoTestNumberBuilder.php Provides a trusted callback to alter the element_info_test number element.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.