public function EntityTranslationScaldHandler::getAccess in Scald: Media Management made easy 7
Checks whether the current user has access to this product.
Overrides EntityTranslationDefaultHandler::getAccess
File
- includes/
scald.translation_handler.inc, line 20 - Translation handler for the Scald Atom entity.
Class
- EntityTranslationScaldHandler
- Class implementing the entity translation behaviours for Scald Atom.
Code
public function getAccess($op) {
return scald_action_permitted($this->entity, array(
'fetch',
'view',
));
}