function _block_aria_landmark_roles_get_roles in Block ARIA Landmark Roles 8
Return a list ARIA roles.
Parameters
bool $associative: (optional) Whether to return an associative array. Defaults to TRUE.
Return value
array
1 call to _block_aria_landmark_roles_get_roles()
File
- ./
block_aria_landmark_roles.module, line 69 - Add ARIA landmark roles to Drupal blocks.
Code
function _block_aria_landmark_roles_get_roles($associative = TRUE) {
return $associative ? BlockAriaLandmarkRoles::getAssociative() : BlockAriaLandmarkRoles::get();
}