-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #6731 Add some missing deprecations related to forms (javieregu…
…iluz) This PR was squashed before being merged into the 4.x branch. Discussion ---------- Add some missing deprecations related to forms While removing these deprecations in #6730 I found some missing deprecation messages. Commits ------- 60c7c8c Add some missing deprecations related to forms
- Loading branch information
Showing
10 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
use EasyCorp\Bundle\EasyAdminBundle\Dto\EntityDto; | ||
use EasyCorp\Bundle\EasyAdminBundle\Dto\FieldDto; | ||
use EasyCorp\Bundle\EasyAdminBundle\Field\FormField; | ||
use EasyCorp\Bundle\EasyAdminBundle\Form\Type\EaFormRowType; | ||
use EasyCorp\Bundle\EasyAdminBundle\Form\Type\Layout\EaFormRowType; | ||
|
||
/** | ||
* @author Javier Eguiluz <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,8 @@ | |
* some HTML tags and it must be added to a form as "unmapped" and "non required". | ||
* | ||
* @author Javier Eguiluz <[email protected]> | ||
* | ||
* @deprecated since 4.8.0, use the alternatives types in the 'EasyCorp\Bundle\EasyAdminBundle\Form\Type\Layout' namespace instead | ||
*/ | ||
class EaFormColumnType extends AbstractType | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,8 @@ | |
* some HTML tags and it must be added to a form as "unmapped" and "non required". | ||
* | ||
* @author Javier Eguiluz <[email protected]> | ||
* | ||
* @deprecated since 4.8.0, use the alternatives types in the 'EasyCorp\Bundle\EasyAdminBundle\Form\Type\Layout' namespace instead | ||
*/ | ||
class EaFormFieldsetType extends AbstractType | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,8 @@ | |
* some HTML tags and it must be added to a form as "unmapped" and "non required". | ||
* | ||
* @author Javier Eguiluz <[email protected]> | ||
* | ||
* @deprecated since 4.8.0, use the equivalent form type in the new namespace: 'EasyCorp\Bundle\EasyAdminBundle\Form\Type\Layout\EaFormRowType' | ||
*/ | ||
class EaFormRowType extends AbstractType | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,8 @@ | |
* some HTML tags and it must be added to a form as "unmapped" and "non required". | ||
* | ||
* @author Javier Eguiluz <[email protected]> | ||
* | ||
* @deprecated since 4.8.0, use the alternatives types in the 'EasyCorp\Bundle\EasyAdminBundle\Form\Type\Layout' namespace instead | ||
*/ | ||
class EasyAdminGroupType extends AbstractType | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
namespace EasyCorp\Bundle\EasyAdminBundle\Form\Type\Layout; | ||
|
||
use Symfony\Component\Form\AbstractType; | ||
|
||
/** | ||
* This is a special form type used to render the form layout when using form tabs. | ||
* | ||
* @author Javier Eguiluz <[email protected]> | ||
* | ||
* @internal don't use this type in your applications | ||
*/ | ||
class EaFormRowType extends AbstractType | ||
{ | ||
public function getBlockPrefix(): string | ||
{ | ||
return 'ea_form_row'; | ||
} | ||
} |