Group label profiles by their supported element on admin page.

This commit is contained in:
Jan Böhmer 2020-04-29 22:59:14 +02:00
parent f16dec51b6
commit 747962884a
3 changed files with 81 additions and 2 deletions

View file

@ -28,7 +28,7 @@ use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
use Symfony\Component\Validator\Constraints as Assert;
/**
* @ORM\Entity(repositoryClass="App\Repository\NamedDBElementRepository")
* @ORM\Entity(repositoryClass="App\Repository\LabelProfileRepository")
* @ORM\Table(name="label_profiles")
* @ORM\EntityListeners({"App\EntityListeners\TreeCacheInvalidationListener"})
* @UniqueEntity({"name", "options.supported_element"})