You are here

public function SimpleAccessViewsAccess::_map_groups in Simple Access 8.3

Callback for array_map.

File

src/views/access/SimpleAccessViewsAccess.php, line 96

Class

SimpleAccessViewsAccess
Plugin annotation @ViewsAccess( id = "simple_access_group", title = @Translation("Simple Access Group"), help = @Translation("Will be available to all users.") )

Namespace

Drupal\simple_access\views\access

Code

public function _map_groups($a) {
  return $a['name'];
}