class TestClass

Test class using the trait.

Hierarchy

Expanded class hierarchy of TestClass

5 string references to 'TestClass'
AuthenticationProviderPassTest::testEncoders in core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/AuthenticationProviderPassTest.php
Tests encoders.
ErrorTest::providerTestFormatBacktrace in core/tests/Drupal/Tests/Core/Utility/ErrorTest.php
Data provider for testFormatBacktrace.
ErrorTest::providerTestGetLastCaller in core/tests/Drupal/Tests/Core/Utility/ErrorTest.php
Data provider for testGetLastCaller.
PhpUnitTestDiscoveryTest::testPhpUnitTestDiscoveryEqualsInternal in core/tests/Drupal/KernelTests/Core/Test/PhpUnitTestDiscoveryTest.php
Tests equality of test discovery between run-tests.sh and PHPUnit CLI.
RegisterSerializationClassesCompilerPassTest::testEncoders in core/modules/serialization/tests/src/Unit/CompilerPass/RegisterSerializationClassesCompilerPassTest.php
Tests encoders.

File

core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php, line 122

Namespace

Drupal\Tests\layout_builder\Unit
View source
class TestClass {
  use LayoutEntityHelperTrait {
    getInlineBlockComponents as public;
    getInlineBlockRevisionIdsInSections as public;
  }

}

Members

Title Sort descending Modifiers Object type Summary Overrides
LayoutEntityHelperTrait::$sectionStorageManager protected property The section storage manager. 1
LayoutEntityHelperTrait::getEntitySections protected function Gets the sections for an entity if any.
LayoutEntityHelperTrait::getInlineBlockComponents protected function Gets components that have Inline Block plugins.
LayoutEntityHelperTrait::getInlineBlockRevisionIdsInSections protected function Gets revision IDs for layout sections.
LayoutEntityHelperTrait::getOverridesSectionStorageForEntity public function Gets the overrides section storage for an entity.
LayoutEntityHelperTrait::getSectionStorageContextsForEntity public function Gets the section storage contexts for an entity.
LayoutEntityHelperTrait::getSectionStorageForEntity protected function Gets the section storage for an entity.
LayoutEntityHelperTrait::isLayoutCompatibleEntity protected function Determines if an entity can have a layout.
LayoutEntityHelperTrait::originalEntityUsesDefaultStorage protected function Determines if the original entity used the default section storage.
LayoutEntityHelperTrait::sectionStorageManager private function Gets the section storage manager. 1

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