class MockQuickEditEntityFieldAccessCheck in Drupal 8
Same name and namespace in other branches
- 9 core/modules/quickedit/tests/modules/src/MockQuickEditEntityFieldAccessCheck.php \Drupal\quickedit_test\MockQuickEditEntityFieldAccessCheck
Access check for in-place editing entity fields.
Hierarchy
- class \Drupal\quickedit_test\MockQuickEditEntityFieldAccessCheck implements QuickEditEntityFieldAccessCheckInterface
Expanded class hierarchy of MockQuickEditEntityFieldAccessCheck
2 files declare their use of MockQuickEditEntityFieldAccessCheck
- MetadataGeneratorTest.php in core/
modules/ quickedit/ tests/ src/ Kernel/ MetadataGeneratorTest.php - QuickEditIntegrationTest.php in core/
modules/ editor/ tests/ src/ Kernel/ QuickEditIntegrationTest.php
File
- core/
modules/ quickedit/ tests/ modules/ src/ MockQuickEditEntityFieldAccessCheck.php, line 11
Namespace
Drupal\quickedit_testView source
class MockQuickEditEntityFieldAccessCheck implements QuickEditEntityFieldAccessCheckInterface {
/**
* {@inheritdoc}
*/
public function accessEditEntityField(EntityInterface $entity, $field_name) {
return TRUE;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MockQuickEditEntityFieldAccessCheck:: |
public | function |
Checks access to edit the requested field of the requested entity. Overrides QuickEditEntityFieldAccessCheckInterface:: |