public static function BricksFieldTypeTrait::getPreconfiguredOptions in Bricks 8
File
- src/
Plugin/ Field/ FieldType/ BricksFieldTypeTrait.php, line 46
Class
Namespace
Drupal\bricks\Plugin\Field\FieldTypeCode
public static function getPreconfiguredOptions() {
$options = parent::getPreconfiguredOptions();
array_walk($options, function (array &$option) {
$option['label'] .= ' (bricks)';
});
return $options;
}