You are here

public function ConfigureStyles::getComponent in Block Style Plugins 8.2

Get the Section Component.

Return value

\Drupal\layout_builder\SectionComponent The current Section Component.

1 call to ConfigureStyles::getComponent()
ConfigureStyles::submitForm in src/Form/ConfigureStyles.php
Form submission handler.

File

src/Form/ConfigureStyles.php, line 235

Class

ConfigureStyles
Provides a form to configure styles.

Namespace

Drupal\block_style_plugins\Form

Code

public function getComponent() {
  return $this->sectionStorage
    ->getSection($this->delta)
    ->getComponent($this->uuid);
}