You are here

public function SocialAddToCalendarBase::getName in Open Social 10.2.x

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_event/modules/social_event_addtocal/src/Plugin/SocialAddToCalendarBase.php \Drupal\social_event_addtocal\Plugin\SocialAddToCalendarBase::getName()
  2. 10.3.x modules/social_features/social_event/modules/social_event_addtocal/src/Plugin/SocialAddToCalendarBase.php \Drupal\social_event_addtocal\Plugin\SocialAddToCalendarBase::getName()
  3. 10.0.x modules/social_features/social_event/modules/social_event_addtocal/src/Plugin/SocialAddToCalendarBase.php \Drupal\social_event_addtocal\Plugin\SocialAddToCalendarBase::getName()
  4. 10.1.x modules/social_features/social_event/modules/social_event_addtocal/src/Plugin/SocialAddToCalendarBase.php \Drupal\social_event_addtocal\Plugin\SocialAddToCalendarBase::getName()

Returns plugin name for label.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup Plugin name.

Overrides SocialAddToCalendarInterface::getName

File

modules/social_features/social_event/modules/social_event_addtocal/src/Plugin/SocialAddToCalendarBase.php, line 21

Class

SocialAddToCalendarBase
Base class for Social add to calendar plugins.

Namespace

Drupal\social_event_addtocal\Plugin

Code

public function getName() {
  return $this->pluginDefinition['label'];
}