You are here

public function SectionComponent::getRegion in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/SectionComponent.php \Drupal\layout_builder\SectionComponent::getRegion()

Gets the region for the component.

Return value

string The region.

1 call to SectionComponent::getRegion()
SectionComponent::toArray in core/modules/layout_builder/src/SectionComponent.php
Returns an array representation of the section component.

File

core/modules/layout_builder/src/SectionComponent.php, line 141

Class

SectionComponent
Provides a value object for a section component.

Namespace

Drupal\layout_builder

Code

public function getRegion() {
  return $this->region;
}