public function UserFlagType::showOnProfile in Flag 8.4
Specifies if the flag link should appear on the user profile.
Return value
bool TRUE if the flag link appears on the user profile, FALSE otherwise.
1 call to UserFlagType::showOnProfile()
- UserFlagType::buildConfigurationForm in src/
Plugin/ Flag/ UserFlagType.php - Provides a form for this action link plugin settings.
File
- src/
Plugin/ Flag/ UserFlagType.php, line 86
Class
- UserFlagType
- Provides a flag type for user entities.
Namespace
Drupal\flag\Plugin\FlagCode
public function showOnProfile() {
return $this->configuration['show_on_profile'];
}