Gets the definition of a contained field.
string $name: The name of the field.
\Drupal\Core\Field\FieldDefinitionInterface|null The definition of the field or null if the field does not exist.
public function getFieldDefinition($name);