function icon_provider_defaults in Icon API 7
Same name and namespace in other branches
- 8 icon.module \icon_provider_defaults()
Default properties for a provider definition.
Parameters
array $provider: An associative array of provider information, passed by reference.
string $name: The machine name of the provider.
1 call to icon_provider_defaults()
- icon_providers in ./
icon.module - Returns information about all icon providers.
File
- ./
icon.module, line 555 - icon.module Provides icon integration with menu items.
Code
function icon_provider_defaults(&$provider = array(), $name = '') {
$provider += array(
'default bundle' => array(),
'name' => $name,
'title' => $name,
'url' => '',
);
return $provider;
}