public function SocialGroupHero::getGroupHeroImageStyle in Open Social 8.9
Same name and namespace in other branches
- 8.5 modules/social_features/social_group/src/SocialGroupHero.php \Drupal\social_group\SocialGroupHero::getGroupHeroImageStyle()
- 8.6 modules/social_features/social_group/src/SocialGroupHero.php \Drupal\social_group\SocialGroupHero::getGroupHeroImageStyle()
- 8.7 modules/social_features/social_group/src/SocialGroupHero.php \Drupal\social_group\SocialGroupHero::getGroupHeroImageStyle()
- 8.8 modules/social_features/social_group/src/SocialGroupHero.php \Drupal\social_group\SocialGroupHero::getGroupHeroImageStyle()
- 10.3.x modules/social_features/social_group/src/SocialGroupHero.php \Drupal\social_group\SocialGroupHero::getGroupHeroImageStyle()
- 10.0.x modules/social_features/social_group/src/SocialGroupHero.php \Drupal\social_group\SocialGroupHero::getGroupHeroImageStyle()
- 10.1.x modules/social_features/social_group/src/SocialGroupHero.php \Drupal\social_group\SocialGroupHero::getGroupHeroImageStyle()
- 10.2.x modules/social_features/social_group/src/SocialGroupHero.php \Drupal\social_group\SocialGroupHero::getGroupHeroImageStyle()
Function that determines the group hero croptype.
Return value
string The crop style.
File
- modules/
social_features/ social_group/ src/ SocialGroupHero.php, line 50
Class
- SocialGroupHero
- Class SocialGroupHero.
Namespace
Drupal\social_groupCode
public function getGroupHeroImageStyle() : string {
return $this
->cropToStyle($this
->getGroupHeroCropType());
}