Mercurial > hg > isophonics-drupal-site
comparison core/modules/views/src/Entity/View.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | c2387f117808 |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
17 * Defines a View configuration entity class. | 17 * Defines a View configuration entity class. |
18 * | 18 * |
19 * @ConfigEntityType( | 19 * @ConfigEntityType( |
20 * id = "view", | 20 * id = "view", |
21 * label = @Translation("View", context = "View entity type"), | 21 * label = @Translation("View", context = "View entity type"), |
22 * label_collection = @Translation("Views", context = "View entity type"), | |
23 * label_singular = @Translation("view", context = "View entity type"), | |
24 * label_plural = @Translation("views", context = "View entity type"), | |
25 * label_count = @PluralTranslation( | |
26 * singular = "@count view", | |
27 * plural = "@count views", | |
28 * context = "View entity type", | |
29 * ), | |
22 * admin_permission = "administer views", | 30 * admin_permission = "administer views", |
23 * entity_keys = { | 31 * entity_keys = { |
24 * "id" = "id", | 32 * "id" = "id", |
25 * "label" = "label", | 33 * "label" = "label", |
26 * "status" = "status" | 34 * "status" = "status" |
421 'id' => 'default', | 429 'id' => 'default', |
422 'display_title' => 'Master', | 430 'display_title' => 'Master', |
423 'position' => 0, | 431 'position' => 0, |
424 'display_options' => [], | 432 'display_options' => [], |
425 ], | 433 ], |
426 ] | 434 ], |
427 ]; | 435 ]; |
428 } | 436 } |
429 | 437 |
430 /** | 438 /** |
431 * {@inheritdoc} | 439 * {@inheritdoc} |