You are here

public property Layout::$path in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Layout/Annotation/Layout.php \Drupal\Core\Layout\Annotation\Layout::path
  2. 9 core/lib/Drupal/Core/Layout/Annotation/Layout.php \Drupal\Core\Layout\Annotation\Layout::path

Path (relative to the module or theme) to resources like icon or template.

This property is optional and it does not need to be declared.

Type: string

File

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

Class

Layout
Defines a Layout annotation object.

Namespace

Drupal\Core\Layout\Annotation

Code

public $path;