You are here

public function DsFieldBase::build in Display Suite 8.3

Same name and namespace in other branches
  1. 8.4 src/Plugin/DsField/DsFieldBase.php \Drupal\ds\Plugin\DsField\DsFieldBase::build()
  2. 8.2 src/Plugin/DsField/DsFieldBase.php \Drupal\ds\Plugin\DsField\DsFieldBase::build()

Renders a field.

Return value

array A renderable array representing the content of the field.

Overrides DsFieldInterface::build

26 methods override DsFieldBase::build()
BlockBase::build in src/Plugin/DsField/BlockBase.php
Renders a field.
BlockDescription::build in src/Plugin/DsField/Block/BlockDescription.php
Renders a field.
BundleField::build in src/Plugin/DsField/BundleField.php
Renders a field.
CommentUser::build in src/Plugin/DsField/Comment/CommentUser.php
Renders a field.
Date::build in src/Plugin/DsField/Date.php
Renders a field.

... See full list

File

src/Plugin/DsField/DsFieldBase.php, line 39

Class

DsFieldBase
Base class for all the ds plugins.

Namespace

Drupal\ds\Plugin\DsField

Code

public function build() {
  return [];
}