public static function FilebrowserInterface::baseFieldDefinitions in Filebrowser 8
Defines the base fields of the entity type.
Parameters
string $entity_type: Name of the entity type
Return value
\Drupal\Core\Field\FieldDefinitionInterface[] An array of entity field definitions, keyed by field name.
File
- lib/
Drupal/ filebrowser/ FilebrowserInterface.php, line 48 - Contains \Drupal\filebrowser\FilebrowserInterface
Class
- FilebrowserInterface
- Provides an interface defining a Filebrowser entity.
Namespace
Drupal\filebrowserCode
public static function baseFieldDefinitions(EntityTypeInterface $entity_type);