You are here

public function PartyDataBase::getLabel in Party 8.2

Get the label of one of our attached entities.

Parameters

int $delta: The delta of the entity to render.

Return value

The text of the label.

File

lib/Drupal/party/Plugin/PartyDataBase.php, line 317
Contains \Drupal\party\Plugin\PartyDataBase.

Class

PartyDataBase
Class PartyDataBase

Namespace

Drupal\party\Plugin

Code

public function getLabel($delta) {
  return $this
    ->getEntity($delta)
    ->label();
}