You are here

public static function BricksFieldTypeTrait::getPreconfiguredOptions in Bricks​ 8

File

src/Plugin/Field/FieldType/BricksFieldTypeTrait.php, line 46

Class

BricksFieldTypeTrait

Namespace

Drupal\bricks\Plugin\Field\FieldType

Code

public static function getPreconfiguredOptions() {
  $options = parent::getPreconfiguredOptions();
  array_walk($options, function (array &$option) {
    $option['label'] .= ' (bricks)';
  });
  return $options;
}