Skip to content

Commit

Permalink
IBX-7808: Added possibility to define icons for content type group
Browse files Browse the repository at this point in the history
  • Loading branch information
mikadamczyk committed May 9, 2024
1 parent 1ab3004 commit ebbf022
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@
* bar:
* thumbnail: '/assets/images/bar.svg'
* ```
*
* @internal
*/
class ContentTypeGroup extends AbstractParser
final class ContentTypeGroup extends AbstractParser
{
public function addSemanticConfig(NodeBuilder $nodeBuilder): void
{
Expand Down
3 changes: 3 additions & 0 deletions src/bundle/Templating/Twig/ContentTypeGroupIconExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
use Twig\Extension\AbstractExtension;
use Twig\TwigFunction;

/**
* @internal
*/
final class ContentTypeGroupIconExtension extends AbstractExtension
{
private ContentTypeGroupIconResolver $contentTypeGroupIconResolver;
Expand Down
3 changes: 3 additions & 0 deletions src/lib/UI/Service/ContentTypeGroupIconResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@

use Symfony\Component\String\Slugger\AsciiSlugger;

/**
* @internal
*/
final class ContentTypeGroupIconResolver extends IconResolver
{
private const PARAM_NAME_FORMAT = 'content_type_group.%s';
Expand Down

0 comments on commit ebbf022

Please sign in to comment.