public function TestActionTrait::access in Search API 8
File
- tests/
search_api_test_bulk_form/ src/ Plugin/ Action/ TestActionTrait.php, line 17
Class
- TestActionTrait
- Reusable code for test actions.
Namespace
Drupal\search_api_test_bulk_form\Plugin\ActionCode
public function access($object, AccountInterface $account = NULL, $return_as_object = FALSE) {
return $return_as_object ? AccessResult::allowed() : TRUE;
}