class TestLayoutEntityHelperTrait in Drupal 9
Same name and namespace in other branches
- 8 core/modules/layout_builder/tests/src/Kernel/LayoutEntityHelperTraitTest.php \Drupal\Tests\layout_builder\Kernel\TestLayoutEntityHelperTrait
 - 10 core/modules/layout_builder/tests/src/Kernel/LayoutEntityHelperTraitTest.php \Drupal\Tests\layout_builder\Kernel\TestLayoutEntityHelperTrait
 
Test class using the trait.
Hierarchy
- class \Drupal\Tests\layout_builder\Kernel\TestLayoutEntityHelperTrait uses LayoutEntityHelperTrait
 
Expanded class hierarchy of TestLayoutEntityHelperTrait
File
- core/
modules/ layout_builder/ tests/ src/ Kernel/ LayoutEntityHelperTraitTest.php, line 252  
Namespace
Drupal\Tests\layout_builder\KernelView source
class TestLayoutEntityHelperTrait {
  use LayoutEntityHelperTrait {
    getSectionStorageForEntity as public;
    originalEntityUsesDefaultStorage as public;
    getEntitySections as public;
  }
}Members
| 
            Name | 
                  Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| 
            LayoutEntityHelperTrait:: | 
                  protected | property | The section storage manager. | 1 | 
| 
            LayoutEntityHelperTrait:: | 
                  protected | function | Gets the sections for an entity if any. | |
| 
            LayoutEntityHelperTrait:: | 
                  protected | function | Gets components that have Inline Block plugins. | |
| 
            LayoutEntityHelperTrait:: | 
                  protected | function | Gets revision IDs for layout sections. | |
| 
            LayoutEntityHelperTrait:: | 
                  protected | function | Gets the section storage for an entity. | |
| 
            LayoutEntityHelperTrait:: | 
                  protected | function | Determines if an entity can have a layout. | |
| 
            LayoutEntityHelperTrait:: | 
                  protected | function | Determines if the original entity used the default section storage. | |
| 
            LayoutEntityHelperTrait:: | 
                  private | function | Gets the section storage manager. | 1 |