-
-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
782e2ad
commit dd60d3b
Showing
6 changed files
with
3 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,8 +25,6 @@ | |
use Symfony\Component\OptionsResolver\OptionsResolver; | ||
|
||
/** | ||
* Abstract admin class for the Block model. | ||
* | ||
* @extends AbstractAdmin<PageBlockInterface> | ||
* | ||
* @author Thomas Rabaix <[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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,8 +29,6 @@ | |
use Symfony\Component\OptionsResolver\OptionsResolver; | ||
|
||
/** | ||
* Admin class for the Block model. | ||
* | ||
* @author Thomas Rabaix <[email protected]> | ||
*/ | ||
final class BlockAdmin extends BaseBlockAdmin | ||
|
@@ -39,7 +37,7 @@ final class BlockAdmin extends BaseBlockAdmin | |
|
||
protected $classnameLabel = 'Block'; | ||
|
||
protected $accessMapping = [ | ||
protected array $accessMapping = [ | ||
'savePosition' => 'EDIT', | ||
'switchParent' => 'EDIT', | ||
'composePreview' => 'EDIT', | ||
|
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 |
---|---|---|
|
@@ -36,8 +36,6 @@ | |
use Symfony\Component\Form\Extension\Core\Type\TextType; | ||
|
||
/** | ||
* Admin definition for the Page class. | ||
* | ||
* @extends AbstractAdmin<PageInterface> | ||
* | ||
* @author Thomas Rabaix <[email protected]> | ||
|
@@ -50,7 +48,7 @@ final class PageAdmin extends AbstractAdmin | |
|
||
protected ?SiteManagerInterface $siteManager = null; | ||
|
||
protected $accessMapping = [ | ||
protected array $accessMapping = [ | ||
'tree' => 'LIST', | ||
'compose' => 'EDIT', | ||
]; | ||
|
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 |
---|---|---|
|
@@ -23,8 +23,6 @@ | |
use Sonata\PageBundle\Mapper\PageFormMapper; | ||
|
||
/** | ||
* Admin class for shared Block model. | ||
* | ||
* @author Romain Mouillard <[email protected]> | ||
*/ | ||
final class SharedBlockAdmin extends BaseBlockAdmin | ||
|
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 |
---|---|---|
|
@@ -26,8 +26,6 @@ | |
use Symfony\Component\Form\Extension\Core\Type\TextareaType; | ||
|
||
/** | ||
* Admin definition for the Site class. | ||
* | ||
* @extends AbstractAdmin<SiteInterface> | ||
* | ||
* @author Thomas Rabaix <[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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,8 +21,6 @@ | |
use Sonata\PageBundle\Model\SnapshotInterface; | ||
|
||
/** | ||
* Admin definition for the Snapshot class. | ||
* | ||
* @extends AbstractAdmin<SnapshotInterface> | ||
* | ||
* @author Thomas Rabaix <[email protected]> | ||
|
@@ -31,7 +29,7 @@ final class SnapshotAdmin extends AbstractAdmin | |
{ | ||
protected $classnameLabel = 'Snapshot'; | ||
|
||
protected $accessMapping = [ | ||
protected array $accessMapping = [ | ||
'batchToggleEnabled' => 'EDIT', | ||
]; | ||
|
||
|