diff --git a/src/Builder/BuilderInterface.php b/src/Builder/BuilderInterface.php index 573931269a..8a9b5214a1 100644 --- a/src/Builder/BuilderInterface.php +++ b/src/Builder/BuilderInterface.php @@ -17,6 +17,10 @@ /** * @author Thomas Rabaix + * + * NEXT_MAJOR: Remove this interface + * + * @deprecated since sonata-project/admin-bundle version 4.x and will be removed in 5.0. */ interface BuilderInterface { diff --git a/src/Builder/FormContractorInterface.php b/src/Builder/FormContractorInterface.php index 019effc331..c84c52eddf 100644 --- a/src/Builder/FormContractorInterface.php +++ b/src/Builder/FormContractorInterface.php @@ -23,6 +23,11 @@ */ interface FormContractorInterface extends BuilderInterface { + /** + * Adds missing information to the given field description and the given admin. + */ + public function fixFieldDescription(FieldDescriptionInterface $fieldDescription): void; + /** * @param array $formOptions */