Layout::$icon

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

The path to the preview image (relative to the 'path' given).

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

Type: string

File

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

Class

Layout
Defines a Layout annotation object.

Namespace

Drupal\Core\Layout\Annotation

Code

public $icon;

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