Gets an array of field definitions of all contained fields.
\Drupal\Core\Field\FieldDefinitionInterface[] An array of field definitions, keyed by field name.
\Drupal\Core\Entity\EntityFieldManagerInterface::getFieldDefinitions()
public function getFieldDefinitions();