Documentation

CatalogItemType extends ConfigEntityBundleBase
in package

FinalYes

Defines the Catalog Item type configuration entity.

Attributes
#[ConfigEntityType]
$id: 'catalog_item_type'
$label: new \Drupal\Core\StringTranslation\TranslatableMarkup('Catalog Item type')
$label_collection: new \Drupal\Core\StringTranslation\TranslatableMarkup('Catalog Item types')
$label_singular: new \Drupal\Core\StringTranslation\TranslatableMarkup('catalog item type')
$label_plural: new \Drupal\Core\StringTranslation\TranslatableMarkup('catalog items types')
$config_prefix: 'catalog_item_type'
$entity_keys: ['id' => 'id', 'label' => 'label', 'uuid' => 'uuid']
$handlers: ['list_builder' => \Drupal\ilms_catalog\CatalogItemTypeListBuilder::class, 'route_provider' => ['html' => \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider::class], 'form' => ['add' => \Drupal\ilms_catalog\Form\CatalogItemTypeForm::class, 'edit' => \Drupal\ilms_catalog\Form\CatalogItemTypeForm::class, 'delete' => \Drupal\Core\Entity\EntityDeleteForm::class]]
$links: ['add-form' => '/admin/structure/catalog_item_types/add', 'edit-form' => '/admin/structure/catalog_item_types/manage/{catalog_item_type}', 'delete-form' => '/admin/structure/catalog_item_types/manage/{catalog_item_type}/delete', 'collection' => '/admin/structure/catalog_item_types']
$admin_permission: 'administer catalog_item types'
$bundle_of: 'catalog_item'
$label_count: ['singular' => '@count catalog item type', 'plural' => '@count catalog items types']
$config_export: ['id', 'label', 'uuid', 'description']

Table of Contents

Properties

$description  : string
The description of the catalog item type.
$id  : string
The machine name of this catalog item type.
$label  : string
The human-readable name of the catalog item type.

Methods

getDescription()  : string|null
Returns the description of the catalog item type.

Properties

$description

The description of the catalog item type.

protected string $description

$id

The machine name of this catalog item type.

protected string $id

$label

The human-readable name of the catalog item type.

protected string $label

Methods

getDescription()

Returns the description of the catalog item type.

public getDescription() : string|null
Return values
string|null

The description of the catalog item type, or NULL if no description is provided.


        
On this page

Search results