function hook_block_attribute_info_alter in Block Attributes 7
Alter the list of block attributes defined.
Parameters
array $attributes: An array of attributes to be controlled by Block Attributes, keyed by attribute name.
See also
block_attributes_get_block_attribute_info()
1 invocation of hook_block_attribute_info_alter()
- block_attributes_get_block_attribute_info in ./
block_attributes.module - Fetch an array of block attributes.
File
- ./
block_attributes.api.php, line 51 - Documentation for Block Attributes API.
Code
function hook_block_attribute_info_alter(array &$attributes) {
// Remove the Access Key attribute.
unset($attributes['accesskey']);
}