Example #1
0
 /**
  * {@inheritdoc}
  */
 protected function getPluginOptions($field_type)
 {
     return parent::getPluginOptions($field_type) + array('hidden' => '- ' . $this->t('Hidden') . ' -');
 }
 /**
  * {@inheritdoc}
  */
 protected function getPluginOptions(FieldDefinitionInterface $field_definition)
 {
     return parent::getPluginOptions($field_definition) + array('hidden' => '- ' . t('Hidden') . ' -');
 }