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