You are here

public function UnwrappedContainer::getInfo in Open Social 10.0.x

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_user/src/Element/UnwrappedContainer.php \Drupal\social_user\Element\UnwrappedContainer::getInfo()
  2. 8.4 modules/social_features/social_user/src/Element/UnwrappedContainer.php \Drupal\social_user\Element\UnwrappedContainer::getInfo()
  3. 8.5 modules/social_features/social_user/src/Element/UnwrappedContainer.php \Drupal\social_user\Element\UnwrappedContainer::getInfo()
  4. 8.6 modules/social_features/social_user/src/Element/UnwrappedContainer.php \Drupal\social_user\Element\UnwrappedContainer::getInfo()
  5. 8.7 modules/social_features/social_user/src/Element/UnwrappedContainer.php \Drupal\social_user\Element\UnwrappedContainer::getInfo()
  6. 8.8 modules/social_features/social_user/src/Element/UnwrappedContainer.php \Drupal\social_user\Element\UnwrappedContainer::getInfo()
  7. 10.3.x modules/social_features/social_user/src/Element/UnwrappedContainer.php \Drupal\social_user\Element\UnwrappedContainer::getInfo()
  8. 10.1.x modules/social_features/social_user/src/Element/UnwrappedContainer.php \Drupal\social_user\Element\UnwrappedContainer::getInfo()
  9. 10.2.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\Element

Code

public function getInfo() {
  $info = parent::getInfo();
  $info['#theme_wrappers'] = [
    'unwrapped_container',
  ];
  return $info;
}