<?php/**
* @file
* Contains \Drupal\field\FieldInstanceInterface.
*/namespaceDrupal\field;
useDrupal\Core\Config\Entity\ConfigEntityInterface;
/**
* Provides an interface defining a field instance entity.
*/interfaceFieldInstanceInterfaceextends ConfigEntityInterface, \ArrayAccess, \Serializable {
/**
* Returns the field entity for this instance.
*
* @return \Drupal\field\FieldInterface
* The field entity for this instance.
*/
public functiongetField();
/**
* Allows a bundle to be renamed.
*
* Renaming a bundle on the instance is allowed when an entity's bundle
* is renamed and when field_entity_bundle_rename() does internal
* housekeeping.
*/
public functionallowBundleRename();
}