public function SimpleAccessProfiles::getInfo in Simple Access 8.3
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 Checkboxes::getInfo
File
- src/
Element/ SimpleAccessProfiles.php, line 19
Class
- SimpleAccessProfiles
- Class SimpleAccessProfiles.
Namespace
Drupal\simple_access\ElementCode
public function getInfo() {
$info = parent::getInfo();
$info += [
'#node_type' => '',
];
return $info;
}