You are here

public function MediaBrowserPluginInterface::access in D7 Media 7.4

Same name and namespace in other branches
  1. 7.2 includes/MediaBrowserPluginInterface.inc \MediaBrowserPluginInterface::access()
  2. 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);