You are here

public function ActivityTypePluginBase::display in CRM Core 8.3

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

Returns visual representation of the activity in form of a render array.

Parameters

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

Return value

array Visual representation of the activity in form of a render array.

Overrides ActivityTypePluginInterface::display

File

modules/crm_core_activity/src/ActivityTypePluginBase.php, line 38

Class

ActivityTypePluginBase
Base implementation of activity type plugin.

Namespace

Drupal\crm_core_activity

Code

public function display(ActivityInterface $entity) {
  return [];
}