public function SocialGroupHero::isSmall 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::isSmall()
- 8.6 modules/social_features/social_group/src/SocialGroupHero.php \Drupal\social_group\SocialGroupHero::isSmall()
- 8.7 modules/social_features/social_group/src/SocialGroupHero.php \Drupal\social_group\SocialGroupHero::isSmall()
- 8.8 modules/social_features/social_group/src/SocialGroupHero.php \Drupal\social_group\SocialGroupHero::isSmall()
- 10.3.x modules/social_features/social_group/src/SocialGroupHero.php \Drupal\social_group\SocialGroupHero::isSmall()
- 10.0.x modules/social_features/social_group/src/SocialGroupHero.php \Drupal\social_group\SocialGroupHero::isSmall()
- 10.1.x modules/social_features/social_group/src/SocialGroupHero.php \Drupal\social_group\SocialGroupHero::isSmall()
- 10.2.x modules/social_features/social_group/src/SocialGroupHero.php \Drupal\social_group\SocialGroupHero::isSmall()
Small or not.
Return value
bool Is this considered small.
File
- modules/
social_features/ social_group/ src/ SocialGroupHero.php, line 60
Class
- SocialGroupHero
- Class SocialGroupHero.
Namespace
Drupal\social_groupCode
public function isSmall() : bool {
// Invoke cropToStyle, to get info about the size.
$this
->cropToStyle($this->configFactory
->get('social_group.settings')
->get('default_hero'));
// Return info about the size.
return $this->isSmall;
}