public function FarmFieldFactoryInterface::bundleFieldDefinition in farmOS 2.x
Generates a bundle field definition.
Parameters
array $options: An array of options.
Return value
\Drupal\entity\BundleFieldDefinition Returns a bundle field definition.
1 method overrides FarmFieldFactoryInterface::bundleFieldDefinition()
- FarmFieldFactory::bundleFieldDefinition in modules/
core/ field/ src/ FarmFieldFactory.php - Generates a bundle field definition.
File
- modules/
core/ field/ src/ FarmFieldFactoryInterface.php, line 33
Class
- FarmFieldFactoryInterface
- Provides an interface for defining a farmOS field factory.
Namespace
Drupal\farm_fieldCode
public function bundleFieldDefinition(array $options = []) : BundleFieldDefinition;