10 calls to Element::isEmpty()
- BlockComponentRenderArray::onBuildRender in core/
modules/ layout_builder/ src/ EventSubscriber/ BlockComponentRenderArray.php - Builds render arrays for block plugins and sets it on the event.
- BlockViewBuilder::preRender in core/
modules/ block/ src/ BlockViewBuilder.php - Render API callback: Builds a block.
- ElementTest::testIsEmpty in core/
tests/ Drupal/ Tests/ Core/ Render/ ElementTest.php - Tests is empty.
- EntityViewDisplay::buildMultiple in core/
lib/ Drupal/ Core/ Entity/ Entity/ EntityViewDisplay.php - ExtraFieldBlock::preRenderBlock in core/
modules/ layout_builder/ src/ Plugin/ Block/ ExtraFieldBlock.php - Pre-render callback to ensure empty extra_field_block's are not rendered.
- LayoutBuilderEntityViewDisplay::buildMultiple in core/
modules/ layout_builder/ src/ Entity/ LayoutBuilderEntityViewDisplay.php - Builds a renderable array for the components of a set of entities.
- LayoutBuilderHooks::entityViewAlter in core/
modules/ layout_builder/ src/ Hook/ LayoutBuilderHooks.php - Implements hook_entity_view_alter().
- NavigationLayout::build in core/
modules/ navigation/ src/ NavigationLayout.php - Build a render array for layout with regions.
- NavigationRenderer::getContentTop in core/
modules/ navigation/ src/ NavigationRenderer.php - Gets the content for content_top section.
- Section::toRenderArray in core/
modules/ layout_builder/ src/ Section.php - Returns the renderable array for this section.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.