public function Tab::getInfo in Field Group: Easy Responsive Tabs to Accordion 8
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 ElementInterface::getInfo
File
- src/
Element/ Tab.php, line 17
Class
- Tab
- Provides a render element for tabs.
Namespace
Drupal\field_group_easy_responsive_tabs\ElementCode
public function getInfo() {
return array(
'#type' => 'field_group_easy_responsive_tab',
'#theme_wrappers' => array(
'field_group_easy_responsive_tab',
),
);
}