ComputedStringItemBase.php in Computed Field 3.x
File
src/Plugin/Field/FieldType/ComputedStringItemBase.php
View source
<?php
namespace Drupal\computed_field\Plugin\Field\FieldType;
use Drupal\Core\Field\Plugin\Field\FieldType\StringItemBase;
use Drupal\Core\Form\FormStateInterface;
abstract class ComputedStringItemBase extends StringItemBase {
use ComputedFieldItemTrait {
fieldSettingsForm as getFieldSettingsFormBase;
}
public function fieldSettingsForm(array $form, FormStateInterface $form_state) {
return $this
->getFieldSettingsFormBase($form, $form_state);
}
}