function _block_aria_landmark_roles_get_label in Block ARIA Landmark Roles 7.2
Same name and namespace in other branches
- 7 block_aria_landmark_roles.module \_block_aria_landmark_roles_get_label()
Find an ARIA landmark label for a certain block.
Parameters
\stdClass $block: An object containing the name of the module and the delta of the block.
Return value
string|bool Returns the label if one was found. If not, returns nothing.
2 calls to _block_aria_landmark_roles_get_label()
File
- ./
block_aria_landmark_roles.module, line 105 - Adds additional elements on block administration forms to add ARIA landmark roles.
Code
function _block_aria_landmark_roles_get_label($block) {
return variable_get("block_aria_landmark_roles_label__{$block->module}__{$block->delta}");
}