3 namespace Drupal\permissions_by_term\Entity\Config;
5 use Drupal\Core\Config\Entity\ConfigEntityBase;
8 * Defines the settings entity.
10 * The lines below, starting with '@ConfigEntityType,' are a plugin annotation.
11 * These define the entity type to the entity type manager.
13 * The properties in the annotation are as follows:
14 * - id: The machine name of the entity type.
15 * - label: The human-readable label of the entity type. We pass this through
16 * the "@Translation" wrapper so that the multilingual system may
17 * translate it in the user interface.
18 * - handlers: An array of entity handler classes, keyed by handler type.
19 * - access: The class that is used for access checks.
20 * - list_builder: The class that provides listings of the entity.
21 * - form: An array of entity form classes keyed by their operation.
22 * - entity_keys: Specifies the class properties in which unique keys are
23 * stored for this entity type. Unique keys are properties which you know
24 * will be unique, and which the entity manager can use as unique in database
26 * - links: entity URL definitions. These are mostly used for Field UI.
27 * Arbitrary keys can set here. For example, User sets cancel-form, while
28 * Node uses delete-form.
30 * @see http://previousnext.com.au/blog/understanding-drupal-8s-config-entities
32 * @see Drupal\Core\Annotation\Translation
34 * @ingroup permissions_by_term
38 * label = @Translation("Settings"),
45 class Settings extends ConfigEntityBase {