public static function BlockAriaLandmarkRoles::get in Block ARIA Landmark Roles 8
Get the defined ARIA roles.
Return value
array An indexed array of roles.
2 calls to BlockAriaLandmarkRoles::get()
- BlockAriaLandmarkRolesTest::testGetRoles in tests/
src/ Unit/ BlockAriaLandmarkRolesTest.php  - Test getting the ARIA landmark roles.
 - _block_aria_landmark_roles_get_roles in ./
block_aria_landmark_roles.module  - Return a list ARIA roles.
 
File
- src/
BlockAriaLandmarkRoles.php, line 32  
Class
- BlockAriaLandmarkRoles
 - Helper class for ARIA landmark roles.
 
Namespace
Drupal\block_aria_landmark_rolesCode
public static function get() {
  return (new static())->roles;
}