Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SectionComponent.php

function SectionComponent::setRegion

Sets the region for the component.

Parameters

string $region: The region.

Return value

$this

File

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

Class

SectionComponent
Provides a value object for a section component.

Namespace

Drupal\layout_builder

Code

public function setRegion($region) {
    $this->region = $region;
    return $this;
}
RSS feed
Powered by Drupal