Documentation

CatalogItemDisplay extends FieldPluginBase
in package

FinalYes

Provides Catalog Item Display field handler.

Attributes
#[ViewsField]
'catalog_item_display'

Table of Contents

Properties

$entityTypeManager  : EntityTypeManagerInterface
The entity type manager interface.

Methods

__construct()  : mixed
{@inheritdoc}
buildOptionsForm()  : void
{@inheritdoc}
create()  : mixed
{@inheritdoc}
query()  : void
{@inheritdoc}
render()  : string|MarkupInterface
{@inheritdoc}
defineOptions()  : array<string|int, mixed>
{@inheritdoc}

Properties

$entityTypeManager

The entity type manager interface.

protected EntityTypeManagerInterface $entityTypeManager

Methods

__construct()

{@inheritdoc}

public __construct(array<string|int, mixed> $configuration, mixed $plugin_id, mixed $plugin_definition, EntityTypeManagerInterface $entity_type_manager) : mixed
Parameters
$configuration : array<string|int, mixed>
$plugin_id : mixed
$plugin_definition : mixed
$entity_type_manager : EntityTypeManagerInterface

buildOptionsForm()

{@inheritdoc}

public buildOptionsForm(mixed &$form, FormStateInterface $form_state) : void
Parameters
$form : mixed
$form_state : FormStateInterface

create()

{@inheritdoc}

public static create(ContainerInterface $container, array<string|int, mixed> $configuration, mixed $plugin_id, mixed $plugin_definition) : mixed
Parameters
$container : ContainerInterface
$configuration : array<string|int, mixed>
$plugin_id : mixed
$plugin_definition : mixed

render()

{@inheritdoc}

public render(ResultRow $values) : string|MarkupInterface
Parameters
$values : ResultRow
Return values
string|MarkupInterface

defineOptions()

{@inheritdoc}

protected defineOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results