Search for access
- Search 3.x for access
- Search 7.x-1.x for access
- Search 6.x-1.x for access
- Search 4.0.x for access
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ContactAccessControlHandler | class | content_entity_example/ |
Access controller for the contact entity. |
ContactAccessControlHandler.php | file | content_entity_example/ |
|
ContactAccessControlHandler::checkAccess | function | content_entity_example/ |
Link the activities to the permissions. checkAccess() is called with the $operation as defined in the routing.yml file. |
ContactAccessControlHandler::checkCreateAccess | function | content_entity_example/ |
Separate from the checkAccess because the entity does not yet exist. It will be created during the 'add' process. |
FieldNoteItemTest::doAccessAssertion | function | field_permission_example/ |
Helper routine to run the assertions. |
FieldNoteItemTest::testFieldNoteAccess | function | field_permission_example/ |
Test multiple access scenarios for the fieldnote field. |
field_permission_example_entity_field_access | function | field_permission_example/ |
Implements hook_entity_field_access(). |
field_permission_example_entity_test_access | function | field_permission_example/ |
Implements hook_ENTITY_TYPE_access(). |
MenuExampleController::customAccess | function | menu_example/ |
Demonstrates the use of custom access check in routes. |
MenuExampleController::customAccessPage | function | menu_example/ |
Content will be displayed only if access check is satisfied. |
menu_example.access_check.role | service | menu_example/ |
Drupal\menu_example\Access\RoleAccessCheck |
PageExampleTest::pageExampleVerifyNoAccess | function | page_example/ |
Verify that current user has no access to page. |
ProtectedPrivatesTest::getAccessibleMethod | function | phpunit_example/ |
Get an accessible method using reflection. |
RobotAccessController | class | config_entity_example/ |
Defines an access controller for the robot entity. |
RobotAccessController.php | file | config_entity_example/ |
|
RobotAccessController::checkAccess | function | config_entity_example/ |
|
RoleAccessCheck | class | menu_example/ |
Determines access to routes based on roles. |
RoleAccessCheck.php | file | menu_example/ |
|
RoleAccessCheck::access | function | menu_example/ |
Checks access. |
testing_example_node_access | function | testing_example/ |
Implements hook_node_access(). |