protected function NameAdditionalPreferredTrait::getTraitUsageIsField in Name Field 8
2 calls to NameAdditionalPreferredTrait::getTraitUsageIsField()
File
- src/
Traits/ NameAdditionalPreferredTrait.php, line 172
Class
- NameAdditionalPreferredTrait
- Name form for preferred and alternative settings trait.
Namespace
Drupal\name\TraitsCode
protected function getTraitUsageIsField() {
return is_subclass_of($this, 'Drupal\\Core\\Field\\FieldItemBase');
}