protected function PhotosImageSetCover::getDefaultLabel in Album Photos 6.0.x
Same name and namespace in other branches
- 8.5 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\fieldCode
protected function getDefaultLabel() {
return $this
->t('Set to Cover');
}