You are here

public function SectionStorageDefinition::getWeight in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/SectionStorage/SectionStorageDefinition.php \Drupal\layout_builder\SectionStorage\SectionStorageDefinition::getWeight()
  2. 10 core/modules/layout_builder/src/SectionStorage/SectionStorageDefinition.php \Drupal\layout_builder\SectionStorage\SectionStorageDefinition::getWeight()

Returns the plugin weight.

Return value

int The plugin weight.

File

core/modules/layout_builder/src/SectionStorage/SectionStorageDefinition.php, line 97

Class

SectionStorageDefinition
Provides section storage type plugin definition.

Namespace

Drupal\layout_builder\SectionStorage

Code

public function getWeight() {
  return $this->weight;
}