Tripal
Public Member Functions | Protected Attributes | List of all members
Drupal\tripal\Entity\TripalEntityTypeCollection Class Reference
Inheritance diagram for Drupal\tripal\Entity\TripalEntityTypeCollection:
Inheritance graph
[legend]
Collaboration diagram for Drupal\tripal\Entity\TripalEntityTypeCollection:
Collaboration graph
[legend]

Public Member Functions

 description ()
 

Protected Attributes

 $id
 
 $label
 
 $description
 
 $content_types
 

Detailed Description

Provides a UI for YML-based TripalEntityType creation. Each instance of this entity is a single configuration for tripal content types in your site.

@ConfigEntityType( id = "tripalentitytype_collection", label = @Translation("Tripal Content Type Collection"), label_collection = @Translation("Tripal Content Type Collections"), label_singular = @Translation("Tripal Content Type Collection"), label_plural = @Translation("Tripal Content Type Collections"), label_count = @PluralTranslation( singular = "@count Tripal Content Type collection", plural = "@count Tripal Content Type collections", ), handlers = { "list_builder" = "Drupal\tripal\ListBuilders\TripalEntityTypeCollectionListBuilder", "form" = { "delete" = "Drupal\tripal\Form\TripalEntityTypeCollectionDeleteForm", } }, config_prefix = "tripalentitytype_collection", admin_permission = "administer tripal", entity_keys = { "id" = "id", "label" = "label", }, config_export = { "id", "label", "description", "content_types" }, links = { "delete-form" = "/admin/tripal/config/tripalentitytype-collection/{tripalentitytype_collection}/delete", "collection" = "/admin/tripal/config/tripalentitytype-collection" } )

Member Function Documentation

◆ description()

Drupal\tripal\Entity\TripalEntityTypeCollection::description ( )

Retrieves the current description for the content type configuration.

Returns
string

The documentation for this class was generated from the following file: