hook_filemanager_areas()
filemanager/doc/filemanager.php, line 31
Define file areas this module uses.
This hook allows file API using modules to define new file areas which will have their own size limits.
This hook should return an array of associative arrays containing area information
The following fields must be defined in the area information array
-area - This is the name of the area used programtically in the module. -name - This is the display name of the area for site admins. -description - This is a description for site admins of what this area holds.
| Name | Description |
|---|---|
| Hooks | Allow modules to interact with the Drupal core. |
<?php
function hook_filemanager_areas() {
return array(
array(
'area' => 'general',
'name' => t('General'),
'description' => t('All files not specifically stored in another area.')
)
);
}
?>