Layout::$class

Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Layout/Annotation/Layout.php \Drupal\Core\Layout\Annotation\Layout::class
  2. 10 core/lib/Drupal/Core/Layout/Annotation/Layout.php \Drupal\Core\Layout\Annotation\Layout::class
  3. 11.x core/lib/Drupal/Core/Layout/Annotation/Layout.php \Drupal\Core\Layout\Annotation\Layout::class

The layout plugin class.

This default value is used for plugins defined in layouts.yml that do not specify a class themselves.

Type: string

File

core/lib/Drupal/Core/Layout/Annotation/Layout.php, line 166

Class

Layout
Defines a Layout annotation object.

Namespace

Drupal\Core\Layout\Annotation

Code

public $class = LayoutDefault::class;

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