You are here

public function ActivityTypePluginInterface::label in CRM Core 8.3

Same name and namespace in other branches
  1. 8 modules/crm_core_activity/src/ActivityTypePluginInterface.php \Drupal\crm_core_activity\ActivityTypePluginInterface::label()
  2. 8.2 modules/crm_core_activity/src/ActivityTypePluginInterface.php \Drupal\crm_core_activity\ActivityTypePluginInterface::label()

Displays the contents of the label field on the activity entity.

Parameters

\Drupal\crm_core_activity\ActivityInterface $entity: The activity entity to build the label for.

Return value

string Returns the entity label.

1 method overrides ActivityTypePluginInterface::label()
ActivityTypePluginBase::label in modules/crm_core_activity/src/ActivityTypePluginBase.php
Displays the contents of the label field on the activity entity.

File

modules/crm_core_activity/src/ActivityTypePluginInterface.php, line 22

Class

ActivityTypePluginInterface
Defines the interface for activity type plugins.

Namespace

Drupal\crm_core_activity

Code

public function label(ActivityInterface $entity);