public function UnwrappedContainer::getInfo in Open Social 10.2.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_user/src/Element/UnwrappedContainer.php \Drupal\social_user\Element\UnwrappedContainer::getInfo()
- 8.4 modules/social_features/social_user/src/Element/UnwrappedContainer.php \Drupal\social_user\Element\UnwrappedContainer::getInfo()
- 8.5 modules/social_features/social_user/src/Element/UnwrappedContainer.php \Drupal\social_user\Element\UnwrappedContainer::getInfo()
- 8.6 modules/social_features/social_user/src/Element/UnwrappedContainer.php \Drupal\social_user\Element\UnwrappedContainer::getInfo()
- 8.7 modules/social_features/social_user/src/Element/UnwrappedContainer.php \Drupal\social_user\Element\UnwrappedContainer::getInfo()
- 8.8 modules/social_features/social_user/src/Element/UnwrappedContainer.php \Drupal\social_user\Element\UnwrappedContainer::getInfo()
- 10.3.x modules/social_features/social_user/src/Element/UnwrappedContainer.php \Drupal\social_user\Element\UnwrappedContainer::getInfo()
- 10.0.x modules/social_features/social_user/src/Element/UnwrappedContainer.php \Drupal\social_user\Element\UnwrappedContainer::getInfo()
- 10.1.x modules/social_features/social_user/src/Element/UnwrappedContainer.php \Drupal\social_user\Element\UnwrappedContainer::getInfo()
Returns the element properties for this element.
Return value
array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format.
Overrides Container::getInfo
File
- modules/
social_features/ social_user/ src/ Element/ UnwrappedContainer.php, line 32
Class
- UnwrappedContainer
- Provides a container element without a div wrapper.
Namespace
Drupal\social_user\ElementCode
public function getInfo() {
$info = parent::getInfo();
$info['#theme_wrappers'] = [
'unwrapped_container',
];
return $info;
}