<?php/**
* @file
* Contains \Drupal\entity\EntityFormDisplayInterface.
*/namespaceDrupal\entity;
useDrupal\entity\EntityDisplayBaseInterface;
/**
* Provides an interface defining an entity display entity.
*/interfaceEntityFormDisplayInterfaceextends EntityDisplayBaseInterface {
/**
* Returns the Widget plugin for a field.
*
* @param string $field_name
* The field name.
*
* @return \Drupal\field\Plugin\Type\Widget\WidgetInterface|null
* A Widget plugin or NULL if the field does not exist.
*/
public functiongetWidget($field_name);
}