function SectionStorageDefinition::getWeight

Same name in other branches
  1. 9 core/modules/layout_builder/src/SectionStorage/SectionStorageDefinition.php \Drupal\layout_builder\SectionStorage\SectionStorageDefinition::getWeight()
  2. 8.9.x core/modules/layout_builder/src/SectionStorage/SectionStorageDefinition.php \Drupal\layout_builder\SectionStorage\SectionStorageDefinition::getWeight()
  3. 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.