public function MediaBrowserPluginInterface::access in D7 Media 7.2
Same name and namespace in other branches
- 7.4 includes/MediaBrowserPluginInterface.inc \MediaBrowserPluginInterface::access()
- 7.3 includes/MediaBrowserPluginInterface.inc \MediaBrowserPluginInterface::access()
Check if a user can access this plugin.
Parameters
object $account: An optional user account object from user_load(). Defaults to the current global user.
Return value
bool TRUE if the user can access this plugin, or FALSE otherwise.
1 method overrides MediaBrowserPluginInterface::access()
- MediaBrowserPlugin::access in includes/
MediaBrowserPlugin.inc - Implements MediaBrowserPluginInterface::access().
File
- includes/
MediaBrowserPluginInterface.inc, line 40 - Definition of MediaBrowserPluginInterface.
Class
- MediaBrowserPluginInterface
- Defines a Media browser plugin.
Code
public function access($account = NULL);