public function Role6::role_create

8.0.x Role6.php public Role6::role_create($role_machine_name, $role_human_readable_name = '')
7.x Role6.php public Role6::role_create($role_machine_name, $role_human_readable_name = '')

Overrides RoleBase::role_create

File

lib/Drush/Role/Role6.php, line 21

Namespace

Drush\Role

Class

Role6

Code

public function role_create($role_machine_name, $role_human_readable_name = '') {
  $this->_admin_user_role_op($role_machine_name, t('Add role'));
  return TRUE;
}