/** * {@inheritdoc} */ public function entityAccess($operation = 'view') { return bean_access('view', $this->getEntity()); }
/** * Access callback. */ public function entity_access($op, $entity) { // This must be implemented by the extending class. return bean_access($op, $entity); }