You are here

protected property ExtraFieldDisplayFormattedBase::$isEmpty in Extra Field 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/ExtraFieldDisplayFormattedBase.php \Drupal\extra_field\Plugin\ExtraFieldDisplayFormattedBase::isEmpty

Flag to indicate that the extra field has no content.

Set this flag when the render elements returned by ::viewElements only contains non-visible render data such as #cache or #attached but does not contain actual renderable data such as #markup, #theme or #item.

When this flag is set, the render elements will not be wrapped in a field wrapper.

Type: bool

File

src/Plugin/ExtraFieldDisplayFormattedBase.php, line 26

Class

ExtraFieldDisplayFormattedBase
Base class for Extra field Display plugins with field wrapper output.

Namespace

Drupal\extra_field\Plugin

Code

protected $isEmpty = FALSE;