public function RoleSectionStorage::saveRoleSections in Workbench Access 8
Saves the role sections for a given role ID.
@TODO: refactor.
Parameters
\Drupal\workbench_access\Entity\AccessSchemeInterface $scheme: Access scheme.
string $role_id: The role ID.
array $settings: Sections for the role.
File
- src/
RoleSectionStorage.php, line 177
Class
- RoleSectionStorage
- Defines a role-section storage that uses the State API.
Namespace
Drupal\workbench_accessCode
public function saveRoleSections(AccessSchemeInterface $scheme, $role_id, array $settings = []) {
}