You are here

protected function PhotosImageSetCover::getDefaultLabel in Album Photos 8.5

Same name and namespace in other branches
  1. 6.0.x src/Plugin/views/field/PhotosImageSetCover.php \Drupal\photos\Plugin\views\field\PhotosImageSetCover::getDefaultLabel()

Returns the default label for this link.

Return value

string The default link label.

Overrides LinkBase::getDefaultLabel

File

src/Plugin/views/field/PhotosImageSetCover.php, line 44

Class

PhotosImageSetCover
Field handler to present a link to set image as album cover.

Namespace

Drupal\photos\Plugin\views\field

Code

protected function getDefaultLabel() {
  return $this
    ->t('Set to Cover');
}