295 string references to 'View'
- Access::query in core/
modules/ node/ src/ Plugin/ views/ filter/ Access.php - See _node_access_where_sql() for a non-views query based implementation.
- AddFormBase::processInputValues in core/
modules/ media_library/ src/ Form/ AddFormBase.php - Creates media items from source field input values.
- AddHandler::buildForm in core/
modules/ views_ui/ src/ Form/ Ajax/ AddHandler.php - Form constructor.
- Analyze::buildForm in core/
modules/ views_ui/ src/ Form/ Ajax/ Analyze.php - Form constructor.
- Analyze::submitForm in core/
modules/ views_ui/ src/ Form/ Ajax/ Analyze.php - Form submission handler.
- AreaTest::testRenderAreaToken in core/
modules/ views/ tests/ src/ Functional/ Handler/ AreaTest.php - Tests global tokens.
- BlockAccessControlHandler::checkAccess in core/
modules/ block/ src/ BlockAccessControlHandler.php - Performs access checks.
- BlockContentAccessHandlerTest::providerTestAccess in core/
modules/ block_content/ tests/ src/ Kernel/ BlockContentAccessHandlerTest.php - Data provider for testAccess().
- BlockContentAccessHandlerTest::testRevisionLogAccess in core/
modules/ block_content/ tests/ src/ Kernel/ BlockContentAccessHandlerTest.php - Tests revision log access.
- BlockContentBlock::blockAccess in core/
modules/ block_content/ src/ Plugin/ Block/ BlockContentBlock.php - Indicates whether the block should be shown.
- BlockContentWizardTest::testViewAddBlockContent in core/
modules/ block_content/ tests/ src/ Functional/ Views/ BlockContentWizardTest.php - Tests creating a 'block_content' entity view.
- BlockRepository::getVisibleBlocksPerRegion in core/
modules/ block/ src/ BlockRepository.php - BookAdminEditForm::bookAdminTableTree in core/
modules/ book/ src/ Form/ BookAdminEditForm.php - Helps build the main table in the book administration page form.
- BookBreadcrumbBuilder::build in core/
modules/ book/ src/ BookBreadcrumbBuilder.php - Builds the breadcrumb.
- BookManager::bookLinkTranslate in core/
modules/ book/ src/ BookManager.php - BookManager::loadBooks in core/
modules/ book/ src/ BookManager.php - Loads Books Array.
- BookNavigationBlock::build in core/
modules/ book/ src/ Plugin/ Block/ BookNavigationBlock.php - Builds and returns the renderable array for this block plugin.
- BookTest::testAdminBookNodeListing in core/
modules/ book/ tests/ src/ Functional/ BookTest.php - Tests the administrative listing of all book pages in a book.
- BookTest::testBookNavigationBlock in core/
modules/ book/ tests/ src/ Functional/ BookTest.php - Tests the functionality of the book navigation block.
- book_breadcrumb_test_node_access in core/
modules/ book/ tests/ modules/ book_breadcrumb_test/ book_breadcrumb_test.module - Implements hook_ENTITY_TYPE_access().
- CollectRoutesTest::setUp in core/
modules/ rest/ tests/ src/ Unit/ CollectRoutesTest.php - CommentAccessControlHandler::checkAccess in core/
modules/ comment/ src/ CommentAccessControlHandler.php - Performs access checks.
- CommentAccessControlHandler::checkFieldAccess in core/
modules/ comment/ src/ CommentAccessControlHandler.php - Default field access as determined by this access control handler.
- CommentAdminOverview::buildForm in core/
modules/ comment/ src/ Form/ CommentAdminOverview.php - Form constructor for the comment overview administration form.
- CommentController::commentPermalink in core/
modules/ comment/ src/ Controller/ CommentController.php - Redirects comment links to the correct page depending on comment settings.
- CommentController::getReplyForm in core/
modules/ comment/ src/ Controller/ CommentController.php - Form constructor for the comment reply form.
- CommentController::replyFormAccess in core/
modules/ comment/ src/ Controller/ CommentController.php - Access check for the reply form.
- CommentFieldAccessTest::testAccessToAdministrativeFields in core/
modules/ comment/ tests/ src/ Kernel/ CommentFieldAccessTest.php - Tests permissions on comment fields.
- CommentFieldItemList::access in core/
modules/ comment/ src/ CommentFieldItemList.php - Checks data value access.
- CommentSelection::getReferenceableEntities in core/
modules/ comment/ src/ Plugin/ EntityReferenceSelection/ CommentSelection.php - Gets the list of referenceable entities.
- comment_display_configurable_test_entity_base_field_info_alter in core/
modules/ comment/ tests/ modules/ comment_display_configurable_test/ comment_display_configurable_test.module - Implements hook_entity_base_field_info_alter().
- ConfigEntityMapper::getContextualLinkGroup in core/
modules/ config_translation/ src/ ConfigEntityMapper.php - Returns the name of the contextual link group to add contextual links to.
- ConfigEntityTypeTest::providerTestGetConfigPrefix in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityTypeTest.php - Provides test data.
- ConfigHandler::buildForm in core/
modules/ views_ui/ src/ Form/ Ajax/ ConfigHandler.php - Form constructor.
- ConfigHandler::remove in core/
modules/ views_ui/ src/ Form/ Ajax/ ConfigHandler.php - Submit handler for removing an item from a view.
- ConfigHandler::submitForm in core/
modules/ views_ui/ src/ Form/ Ajax/ ConfigHandler.php - Form submission handler.
- ConfigHandlerExtra::buildForm in core/
modules/ views_ui/ src/ Form/ Ajax/ ConfigHandlerExtra.php - Form constructor.
- ConfigHandlerExtra::submitForm in core/
modules/ views_ui/ src/ Form/ Ajax/ ConfigHandlerExtra.php - Form submission handler.
- ConfigHandlerGroup::buildForm in core/
modules/ views_ui/ src/ Form/ Ajax/ ConfigHandlerGroup.php - Form constructor.
- ConfigHandlerGroup::submitForm in core/
modules/ views_ui/ src/ Form/ Ajax/ ConfigHandlerGroup.php - Form submission handler.
- contact.links.task.yml in core/
modules/ contact/ contact.links.task.yml - core/modules/contact/contact.links.task.yml
- ContactFormAccessControlHandler::checkAccess in core/
modules/ contact/ src/ ContactFormAccessControlHandler.php - Performs access checks.
- ContactSitewideTest::testSiteWideContact in core/
modules/ contact/ tests/ src/ Functional/ ContactSitewideTest.php - Tests configuration options and the site-wide contact form.
- ContentEntityNormalizer::normalize in core/
modules/ serialization/ src/ Normalizer/ ContentEntityNormalizer.php - ContentModerationStateAccessControlHandlerTest::testHandler in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationStateAccessControlHandlerTest.php - @covers ::checkAccess @covers ::checkCreateAccess
- content_moderation_entity_access in core/
modules/ content_moderation/ content_moderation.module - Implements hook_entity_access().
- content_translation_language_fallback_candidates_entity_view_alter in core/
modules/ content_translation/ content_translation.module - Implements hook_language_fallback_candidates_OPERATION_alter().
- content_translation_page_attachments in core/
modules/ content_translation/ content_translation.module - Implements hook_page_attachments().
- content_translation_translate_access in core/
modules/ content_translation/ content_translation.module - Access callback for the translation overview page.
- CounterTest::setUp in core/
modules/ views/ tests/ src/ Unit/ Plugin/ field/ CounterTest.php - DateFormatAccessControlHandlerTest::testAccess in core/
modules/ system/ tests/ src/ Kernel/ DateFormatAccessControlHandlerTest.php - @covers ::checkAccess @covers ::checkCreateAccess @dataProvider testAccessProvider
- dblog.links.task.yml in core/
modules/ dblog/ dblog.links.task.yml - core/modules/dblog/dblog.links.task.yml
- DefaultsSectionStorageTest::providerTestAccess in core/
modules/ layout_builder/ tests/ src/ Kernel/ DefaultsSectionStorageTest.php - Provides test data for ::testAccess().
- DefaultsSectionStorageTest::testBuildRoutes in core/
modules/ layout_builder/ tests/ src/ Unit/ DefaultsSectionStorageTest.php - @covers ::buildRoutes @covers ::getEntityTypes @covers \Drupal\layout_builder\Routing\LayoutBuilderRoutesTrait::buildLayoutRoutes
- DefaultViewsTest::testDefaultViews in core/
modules/ views/ tests/ src/ Functional/ DefaultViewsTest.php - Tests that all Default views work as expected.
- DependentAccessTest::testMergeGroup in core/
modules/ block_content/ tests/ src/ Unit/ Access/ DependentAccessTest.php - Tests merging a new dependency with an existing access group dependency.
- DependentAccessTest::testMergeNonGroup in core/
modules/ block_content/ tests/ src/ Unit/ Access/ DependentAccessTest.php - Tests merging a new dependency with existing non-group access dependency.
- DependentAccessTest::testSetAccessDependency in core/
modules/ block_content/ tests/ src/ Unit/ Access/ DependentAccessTest.php - Tests that the previous dependency is replaced when using set.
- Display::buildForm in core/
modules/ views_ui/ src/ Form/ Ajax/ Display.php - Form constructor.
- Display::submitForm in core/
modules/ views_ui/ src/ Form/ Ajax/ Display.php - Form submission handler.
- Display::validateForm in core/
modules/ views_ui/ src/ Form/ Ajax/ Display.php - Form validation handler.
- DisplayModeBundleSelectionTest::providerBundleSelection in core/
modules/ field_ui/ tests/ src/ FunctionalJavascript/ DisplayModeBundleSelectionTest.php - Data provider for testBundleSelection().
- DisplayPluginBase::buildBasicRenderable in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php - Builds a basic render array which can be properly render cached.
- DynamicLocalTasks::getDerivativeDefinitions in core/
modules/ media/ src/ Plugin/ Derivative/ DynamicLocalTasks.php - Gets the definition of all derivatives of a base plugin.
- EditDetails::buildForm in core/
modules/ views_ui/ src/ Form/ Ajax/ EditDetails.php - Form constructor.
- EditDetails::submitForm in core/
modules/ views_ui/ src/ Form/ Ajax/ EditDetails.php - Form submission handler.
- Entity::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ argument_validator/ Entity.php - Provides the default form for setting options.
- Entity::defineOptions in core/
modules/ views/ src/ Plugin/ views/ argument_validator/ Entity.php - Retrieves the options when this is a new access control plugin.
- Entity::render in core/
modules/ views/ src/ Plugin/ views/ area/ Entity.php - Render the area.
- EntityAccessChecker::checkEntityAccess in core/
modules/ jsonapi/ src/ Access/ EntityAccessChecker.php - Checks access to the given entity.
- EntityAccessChecker::getAccessCheckedResourceObject in core/
modules/ jsonapi/ src/ Access/ EntityAccessChecker.php - Get the object to normalize and the access based on the provided entity.
- EntityAccessControlHandler::access in core/
lib/ Drupal/ Core/ Entity/ EntityAccessControlHandler.php - Checks access to an operation on a given entity or entity translation.
- EntityAccessControlHandler::checkFieldAccess in core/
lib/ Drupal/ Core/ Entity/ EntityAccessControlHandler.php - Default field access as determined by this access control handler.
- EntityAccessControlHandlerTest::testHooks in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityAccessControlHandlerTest.php - Tests hook invocations.
- EntityDisplayBase::init in core/
lib/ Drupal/ Core/ Entity/ EntityDisplayBase.php - Initializes the display.
- EntityDisplayFormBase::getExtraFields in core/
modules/ field_ui/ src/ Form/ EntityDisplayFormBase.php - Returns the extra fields of the entity type and bundle used by this form.
- EntityDisplayModeListBuilder::render in core/
modules/ field_ui/ src/ EntityDisplayModeListBuilder.php - Builds the entity listing as renderable array for table.html.twig.
- EntityDisplayTest::assertDependencyHelper in core/
modules/ field_ui/ tests/ src/ Kernel/ EntityDisplayTest.php - Provides a helper for dependency assertions.
- EntityField::access in core/
modules/ views/ src/ Plugin/ views/ field/ EntityField.php - Check whether given user has access to this handler.
- EntityFormDisplayAccessControlHandlerTest::assertAllowOperations in core/
tests/ Drupal/ Tests/ Core/ Entity/ Access/ EntityFormDisplayAccessControlHandlerTest.php - Assert method to verify the access by operations.
- EntityFormDisplayAccessControlHandlerTest::testAccess in core/
tests/ Drupal/ Tests/ Core/ Entity/ Access/ EntityFormDisplayAccessControlHandlerTest.php - @covers ::access @covers ::checkAccess
- EntityLink::getDefaultLabel in core/
modules/ views/ src/ Plugin/ views/ field/ EntityLink.php - Returns the default label for this link.
- EntityReferenceFormatterBase::checkAccess in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ EntityReferenceFormatterBase.php - Checks access to the given entity.
- EntityReferenceFormatterTest::testAccess in core/
modules/ field/ tests/ src/ Kernel/ EntityReference/ EntityReferenceFormatterTest.php - Assert inaccessible items don't change the data of the fields.
- EntityResource::checkPatchFieldAccess in core/
modules/ jsonapi/ src/ Controller/ EntityResource.php - Checks whether the given field should be PATCHed.
- EntityResource::checkPatchFieldAccess in core/
modules/ rest/ src/ Plugin/ rest/ resource/ EntityResource.php - Checks whether the given field should be PATCHed.
- EntityResource::get in core/
modules/ rest/ src/ Plugin/ rest/ resource/ EntityResource.php - Responds to entity GET requests.
- EntityResourceTestBase::getExpectedUnauthorizedAccessMessage in core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ EntityResourceTestBase.php - Return the expected error message.
- EntityTestAccessControlHandler::checkAccess in core/
modules/ system/ tests/ modules/ entity_test/ src/ EntityTestAccessControlHandler.php - Performs access checks.
- EntityTestComputedField::baseFieldDefinitions in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestComputedField.php - EntityTestLocalTasks::getDerivativeDefinitions in core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Derivative/ EntityTestLocalTasks.php - Gets the definition of all derivatives of a base plugin.
- EntityTestRevisionTest::testRevisionsViewWithNoTypeOnBaseTable in core/
modules/ views/ tests/ src/ Functional/ Wizard/ EntityTestRevisionTest.php - Tests creating a view of revisions where the type is not on the base table.
- EntityTestRevlogAccessControlHandler::checkAccess in core/
modules/ system/ tests/ modules/ entity_test_revlog/ src/ EntityTestRevlogAccessControlHandler.php - Performs access checks.
- EntityViewDisplay::buildMultiple in core/
lib/ Drupal/ Core/ Entity/ Entity/ EntityViewDisplay.php - Builds a renderable array for the components of a set of entities.
- ExtraFieldBlock::blockAccess in core/
modules/ layout_builder/ src/ Plugin/ Block/ ExtraFieldBlock.php - Indicates whether the block should be shown.
- FieldAccessTest::testFieldAccess in core/
tests/ Drupal/ KernelTests/ Core/ Field/ FieldAccessTest.php - Tests hook_entity_field_access() and hook_entity_field_access_alter().
- FieldBlock::blockAccess in core/
modules/ layout_builder/ src/ Plugin/ Block/ FieldBlock.php - Indicates whether the block should be shown.
- FieldBlockDeriver::getDerivativeDefinitions in core/
modules/ layout_builder/ src/ Plugin/ Derivative/ FieldBlockDeriver.php - Gets the definition of all derivatives of a base plugin.
- FieldConfigAccessControlHandlerTest::testAccess in core/
modules/ field/ tests/ src/ Unit/ FieldConfigAccessControlHandlerTest.php - Ensures field config access is working properly.
- FieldDefinitionIntegrityTest::testFieldPluginDefinitionAvailability in core/
modules/ field/ tests/ src/ Kernel/ FieldDefinitionIntegrityTest.php - Tests to load field plugin definitions used in core's existing entities.
- FieldLayoutBuilder::buildView in core/
modules/ field_layout/ src/ FieldLayoutBuilder.php - Applies the layout to an entity build.
- FieldResolver::getFieldAccess in core/
modules/ jsonapi/ src/ Context/ FieldResolver.php - Gets the field access result for the 'view' operation.
- FieldStorageConfigAccessControlHandlerTest::assertAllowOperations in core/
modules/ field/ tests/ src/ Unit/ FieldStorageConfigAccessControlHandlerTest.php - Assert method to verify the access by operations.
- FieldStorageConfigAccessControlHandlerTest::testAccess in core/
modules/ field/ tests/ src/ Unit/ FieldStorageConfigAccessControlHandlerTest.php - Ensures field storage config access is working properly.
- field_test_entity_field_access in core/
modules/ field/ tests/ modules/ field_test/ field_test.field.inc - Implements hook_entity_field_access().
- FileAccessControlHandler::checkAccess in core/
modules/ file/ src/ FileAccessControlHandler.php - Performs access checks.
- FileFormatterBase::checkAccess in core/
modules/ file/ src/ Plugin/ Field/ FieldFormatter/ FileFormatterBase.php - Checks access to the given entity.
- FileManagedAccessTest::testFileAccess in core/
modules/ file/ tests/ src/ Kernel/ FileManagedAccessTest.php - Tests if public file is always accessible.
- FilterFormatAccessControlHandler::checkAccess in core/
modules/ filter/ src/ FilterFormatAccessControlHandler.php - Performs access checks.
- FilterPluginBase::addGroupForm in core/
modules/ views/ src/ Plugin/ views/ filter/ FilterPluginBase.php - Add a new group to the exposed filter groups.
- FilterPluginBase::buildGroupForm in core/
modules/ views/ src/ Plugin/ views/ filter/ FilterPluginBase.php - Displays the Build Group form.
- ForumManager::getChildren in core/
modules/ forum/ src/ ForumManager.php - ForumUninstallValidator::validate in core/
modules/ forum/ src/ ForumUninstallValidator.php - Determines the reasons a module can not be uninstalled.
- HandlerBase::displayExposedForm in core/
modules/ views/ src/ Plugin/ views/ HandlerBase.php - Displays the Expose form.
- HandlerBase::submitTemporaryForm in core/
modules/ views/ src/ Plugin/ views/ HandlerBase.php - Submits a temporary form.
- hook_block_access in core/
modules/ block/ block.api.php - Control access to a block instance.
- hook_node_grants_alter in core/
modules/ node/ node.api.php - Alter user access rules when trying to view, edit or delete a node.
- IncludeResolver::resolveIncludeTree in core/
modules/ jsonapi/ src/ IncludeResolver.php - Receives a tree of include field names and resolves resources for it.
- InlineBlock::blockAccess in core/
modules/ layout_builder/ src/ Plugin/ Block/ InlineBlock.php - Indicates whether the block should be shown.
- LanguageAccessControlHandler::checkAccess in core/
modules/ language/ src/ LanguageAccessControlHandler.php - Performs access checks.
- language_entity_base_field_info_alter in core/
modules/ language/ language.module - Implements hook_entity_base_field_info_alter().
- LayoutBuilderContentModerationIntegrationTest::testLayoutModeration in core/
modules/ content_moderation/ tests/ src/ Functional/ LayoutBuilderContentModerationIntegrationTest.php - Tests that Layout changes are respected by Content Moderation.
- LayoutBuilderEntityViewDisplay::setComponent in core/
modules/ layout_builder/ src/ Entity/ LayoutBuilderEntityViewDisplay.php - Sets the display options for a component.
- LayoutBuilderRoutesTrait::buildLayoutRoutes in core/
modules/ layout_builder/ src/ Routing/ LayoutBuilderRoutesTrait.php - Builds the layout routes for the given values.
- LayoutBuilderTest::testPreserverEntityValues in core/
modules/ layout_builder/ tests/ src/ Functional/ LayoutBuilderTest.php - Tests that the Layout Builder preserves entity values.
- LayoutPreviewAccessAllowed::access in core/
modules/ layout_builder/ src/ Access/ LayoutPreviewAccessAllowed.php - Checks data value access.
- layout_builder.routing.yml in core/
modules/ layout_builder/ layout_builder.routing.yml - core/modules/layout_builder/layout_builder.routing.yml
- layout_builder_block_content_access in core/
modules/ layout_builder/ layout_builder.module - Implements hook_ENTITY_TYPE_access().
- LocalTasksTest::testPluginLocalTask in core/
modules/ system/ tests/ src/ Functional/ Menu/ LocalTasksTest.php - Tests the plugin based local tasks.
- Media::baseFieldDefinitions in core/
modules/ media/ src/ Entity/ Media.php - MediaAccessControlHandler::checkAccess in core/
modules/ media/ src/ MediaAccessControlHandler.php - Performs access checks.
- MediaAccessControlHandlerTest::providerAccess in core/
modules/ media/ tests/ src/ Kernel/ MediaAccessControlHandlerTest.php - Data provider for testAccess().
- MediaAccessControlHandlerTest::testRevisionLogFieldAccess in core/
modules/ media/ tests/ src/ Kernel/ MediaAccessControlHandlerTest.php - Tests access to the revision log field.
- MediaAccessTest::testCanonicalMediaAccess in core/
modules/ media/ tests/ src/ Functional/ MediaAccessTest.php - Tests view access control on the canonical page.
- MediaAccessTest::testMediaAccess in core/
modules/ media/ tests/ src/ Functional/ MediaAccessTest.php - Tests some access control functionality.
- MediaEmbed::renderMedia in core/
modules/ media/ src/ Plugin/ Filter/ MediaEmbed.php - Builds the render array for the given media entity in the given langcode.
- MediaLibraryWidget::addItems in core/
modules/ media_library/ src/ Plugin/ Field/ FieldWidget/ MediaLibraryWidget.php - Updates the field state and flags the form for rebuild.
- MediaLibraryWidget::formElement in core/
modules/ media_library/ src/ Plugin/ Field/ FieldWidget/ MediaLibraryWidget.php - Returns the form for a single field widget.
- MediaTest::testNameBaseField in core/
modules/ media/ tests/ src/ Kernel/ MediaTest.php - Tests the Media "name" base field behavior.
- MediaTypeForm::save in core/
modules/ media/ src/ MediaTypeForm.php - Form submission handler for the 'save' action.
- MenuAccessControlHandlerTest::testAccess in core/
modules/ system/ tests/ src/ Kernel/ MenuAccessControlHandlerTest.php - @covers ::checkAccess @covers ::checkCreateAccess @dataProvider testAccessProvider
- MenuLinkContent::baseFieldDefinitions in core/
modules/ menu_link_content/ src/ Entity/ MenuLinkContent.php - MenuLinkContentAccessControlHandler::checkAccess in core/
modules/ menu_link_content/ src/ MenuLinkContentAccessControlHandler.php - Performs access checks.
- MenuUiContentModerationTest::testMenuUiWithUnpublishedContent in core/
modules/ menu_ui/ tests/ src/ Functional/ MenuUiContentModerationTest.php - Tests that unpublished content can be selected through the menu UI.
- MenuUiNodeTest::testMenuNodeWithGrantsFormWidget in core/
modules/ menu_ui/ tests/ src/ Functional/ MenuUiNodeTest.php - Tests creating menu links via node form widget for nodes with grants.
- menu_test.links.task.yml in core/
modules/ system/ tests/ modules/ menu_test/ menu_test.links.task.yml - core/modules/system/tests/modules/menu_test/menu_test.links.task.yml
- Message::baseFieldDefinitions in core/
modules/ contact/ src/ Entity/ Message.php - ModuleTest::testLoadFunctions in core/
modules/ views/ tests/ src/ Kernel/ ModuleTest.php - Tests the load wrapper/helper functions.
- node.links.task.yml in core/
modules/ node/ node.links.task.yml - core/modules/node/node.links.task.yml
- NodeAccessControlHandler::checkAccess in core/
modules/ node/ src/ NodeAccessControlHandler.php - Performs access checks.
- NodeAccessGrantsCacheContext::checkNodeGrants in core/
modules/ node/ src/ Cache/ NodeAccessGrantsCacheContext.php - Checks the node grants for the given operation.
- NodeAccessGrantsCacheContext::getContext in core/
modules/ node/ src/ Cache/ NodeAccessGrantsCacheContext.php - Returns the string representation of the cache context.
- NodeAccessGrantsCacheContextTest::assertUserCacheContext in core/
modules/ node/ tests/ src/ Functional/ NodeAccessGrantsCacheContextTest.php - Asserts that for each given user, the expected cache context is returned.
- NodeAccessRecordsTest::testNodeAccessRecords in core/
modules/ node/ tests/ src/ Kernel/ NodeAccessRecordsTest.php - Creates a node and tests the creation of node access rules.
- NodeFieldAccessTest::testAccessToAdministrativeFields in core/
modules/ node/ tests/ src/ Kernel/ NodeFieldAccessTest.php - Tests permissions on nodes status field.
- NodeForm::save in core/
modules/ node/ src/ NodeForm.php - Form submission handler for the 'save' action.
- NodeGrantDatabaseStorage::access in core/
modules/ node/ src/ NodeGrantDatabaseStorage.php - NodeGrantDatabaseStorage::checkAll in core/
modules/ node/ src/ NodeGrantDatabaseStorage.php - NodeQueryAlterTest::testNodeQueryAlterLowLevelNoAccess in core/
modules/ node/ tests/ src/ Functional/ NodeQueryAlterTest.php - Tests 'node_access' query alter, for user without access.
- NodeQueryAlterTest::testNodeQueryAlterLowLevelWithAccess in core/
modules/ node/ tests/ src/ Functional/ NodeQueryAlterTest.php - Tests 'node_access' query alter, for user with access.
- NodeQueryAlterTest::testNodeQueryAlterOverride in core/
modules/ node/ tests/ src/ Functional/ NodeQueryAlterTest.php - Tests 'node_access' query alter override.
- NodeTypeAccessControlHandler::checkAccess in core/
modules/ node/ src/ NodeTypeAccessControlHandler.php - Performs access checks.
- NodeWizardTest::testViewAddWithNodeTitles in core/
modules/ views/ tests/ src/ Functional/ Wizard/ NodeWizardTest.php - Tests creating a view with node titles.
- node_access_test_node_grants in core/
modules/ node/ tests/ modules/ node_access_test/ node_access_test.module - Implements hook_node_grants().
- node_preprocess_field__node in core/
modules/ node/ node.module - Implements hook_preprocess_HOOK() for node field templates.
- node_query_node_access_alter in core/
modules/ node/ node.module - Implements hook_query_TAG_alter().
- OverridesSectionStorageTest::testAccess in core/
modules/ layout_builder/ tests/ src/ Kernel/ OverridesSectionStorageTest.php - @covers ::access @dataProvider providerTestAccess
- OverridesSectionStorageTest::testBuildRoutes in core/
modules/ layout_builder/ tests/ src/ Unit/ OverridesSectionStorageTest.php - @covers ::buildRoutes @covers ::hasIntegerId @covers ::getEntityTypes @covers \Drupal\layout_builder\Routing\LayoutBuilderRoutesTrait::buildLayoutRoutes
- PathFieldItemList::defaultAccess in core/
modules/ path/ src/ Plugin/ Field/ FieldType/ PathFieldItemList.php - Contains the default access logic of this field.
- PluginBase::getAvailableGlobalTokens in core/
modules/ views/ src/ Plugin/ views/ PluginBase.php - Returns an array of available token replacements.
- Rearrange::buildForm in core/
modules/ views_ui/ src/ Form/ Ajax/ Rearrange.php - Form constructor.
- Rearrange::submitForm in core/
modules/ views_ui/ src/ Form/ Ajax/ Rearrange.php - Form submission handler.
- RearrangeFilter::buildForm in core/
modules/ views_ui/ src/ Form/ Ajax/ RearrangeFilter.php - Form constructor.
- RearrangeFilter::submitForm in core/
modules/ views_ui/ src/ Form/ Ajax/ RearrangeFilter.php - Form submission handler.
- ReferenceAccessConstraintValidator::validate in core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ ReferenceAccessConstraintValidator.php - RelationshipRouteAccessCheck::access in core/
modules/ jsonapi/ src/ Access/ RelationshipRouteAccessCheck.php - Checks access to the relationship field on the given route.
- RenderedEntity::render in core/
modules/ views/ src/ Plugin/ views/ field/ RenderedEntity.php - Renders the field.
- ReorderDisplays::buildForm in core/
modules/ views_ui/ src/ Form/ Ajax/ ReorderDisplays.php - Form constructor.
- ReorderDisplays::submitForm in core/
modules/ views_ui/ src/ Form/ Ajax/ ReorderDisplays.php - Form submission handler.
- ResourceObjectNormalizer::serializeField in core/
modules/ jsonapi/ src/ Normalizer/ ResourceObjectNormalizer.php - Serializes a given field.
- ResourceResponseTestTrait::getExpectedIncludedResourceResponse in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceResponseTestTrait.php - Gets an array of expected ResourceResponses for the given include paths.
- ResourceTestBase::doTestSparseFieldSets in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Tests sparse field sets.
- ResourceTestBase::entityFieldAccess in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Checks access for the given field operation on the given entity.
- ResourceTestBase::getExpectedCollectionCacheability in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Computes the cacheability for a given entity collection.
- ResourceTestBase::getExpectedCollectionResponse in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Returns a JSON:API collection document for the expected entities.
- ResourceTestBase::getExpectedGetRelationshipResponse in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Gets an expected ResourceResponse for the given relationship.
- ResourceTestBase::getExpectedRelatedResponse in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Builds an expected related ResourceResponse for the given field.
- ResourceTestBase::testRevisions in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Tests individual and collection revisions.
- rest_test_entity_field_access in core/
modules/ rest/ tests/ modules/ rest_test/ rest_test.module - Implements hook_entity_field_access().
- RevisionLink::getDefaultLabel in core/
modules/ node/ src/ Plugin/ views/ field/ RevisionLink.php - Returns the default label for this link.
- Routes::getIndividualRoutesForResourceType in core/
modules/ jsonapi/ src/ Routing/ Routes.php - Gets a route collection for the given resource type.
- RouteSubscriber::__construct in core/
modules/ views/ src/ EventSubscriber/ RouteSubscriber.php - Constructs a \Drupal\views\EventSubscriber\RouteSubscriber instance.
- RowEntityTest::testEntityRow in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ RowEntityTest.php - Tests the entity row handler.
- SearchPageAccessControlHandler::checkAccess in core/
modules/ search/ src/ SearchPageAccessControlHandler.php - Performs access checks.
- ShortcutSetAccessControlHandler::checkAccess in core/
modules/ shortcut/ src/ ShortcutSetAccessControlHandler.php - Performs access checks.
- Sql::execute in core/
modules/ views/ src/ Plugin/ views/ query/ Sql.php - Executes the query and fills associated view object with according values.
- taxonomy.links.task.yml in core/
modules/ taxonomy/ taxonomy.links.task.yml - core/modules/taxonomy/taxonomy.links.task.yml
- taxonomy_term_display_configurable_test_entity_base_field_info_alter in core/
modules/ taxonomy/ tests/ modules/ taxonomy_term_display_configurable_test/ taxonomy_term_display_configurable_test.module - Implements hook_entity_base_field_info_alter().
- template_preprocess_comment in core/
modules/ comment/ comment.module - Prepares variables for comment templates.
- template_preprocess_node in core/
modules/ node/ node.module - Prepares variables for node templates.
- template_preprocess_taxonomy_term in core/
modules/ taxonomy/ taxonomy.module - Prepares variables for taxonomy term templates.
- template_preprocess_username in core/
modules/ user/ user.module - Prepares variables for username templates.
- TermAccessControlHandler::checkAccess in core/
modules/ taxonomy/ src/ TermAccessControlHandler.php - Performs access checks.
- TermAccessTest::testTermAccess in core/
modules/ taxonomy/ tests/ src/ Functional/ TermAccessTest.php - Tests access control functionality for taxonomy terms.
- TermKernelTest::testRevisionLogAccess in core/
modules/ taxonomy/ tests/ src/ Kernel/ TermKernelTest.php - Tests revision log access.
- TourAccessControlHandler::checkAccess in core/
modules/ tour/ src/ TourAccessControlHandler.php - Performs access checks.
- TranslationTest::testFieldAccess in core/
modules/ field/ tests/ src/ Kernel/ TranslationTest.php - Tests field access.
- user.links.task.yml in core/
modules/ user/ user.links.task.yml - core/modules/user/user.links.task.yml
- UserAccessControlHandler::checkAccess in core/
modules/ user/ src/ UserAccessControlHandler.php - Performs access checks.
- UserAccessControlHandler::checkFieldAccess in core/
modules/ user/ src/ UserAccessControlHandler.php - Default field access as determined by this access control handler.
- UserAuthenticationController::login in core/
modules/ user/ src/ Controller/ UserAuthenticationController.php - Logs in a user.
- user_access_test_entity_field_access in core/
modules/ user/ tests/ modules/ user_access_test/ user_access_test.module - Implements hook_entity_field_access().
- ValidReferenceConstraintValidator::validate in core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ ValidReferenceConstraintValidator.php - View::create in core/
modules/ views/ src/ Plugin/ views/ area/ View.php - Creates an instance of the plugin.
- View::preRenderViewElement in core/
modules/ views/ src/ Element/ View.php - View element pre render callback.
- ViewAjaxController::create in core/
modules/ views/ src/ Controller/ ViewAjaxController.php - Instantiates a new instance of this class.
- ViewExecutableTest::setupBaseViewAndDisplay in core/
modules/ views/ tests/ src/ Unit/ ViewExecutableTest.php - Setups a view executable and default display.
- ViewFormBase::init in core/
modules/ views_ui/ src/ ViewFormBase.php - Initialize the form state and the entity before the first form build.
- ViewListBuilderTest::testBuildRowEntityList in core/
modules/ views_ui/ tests/ src/ Unit/ ViewListBuilderTest.php - Tests the listing of displays on a views list builder.
- ViewPageControllerTest::testHandleWithArgumentsOnOverriddenRoute in core/
modules/ views/ tests/ src/ Unit/ Routing/ ViewPageControllerTest.php - Tests the page controller with arguments of an overridden page view.
- ViewPageControllerTest::testHandleWithArgumentsOnOverriddenRouteWithUpcasting in core/
modules/ views/ tests/ src/ Unit/ Routing/ ViewPageControllerTest.php - Tests the page controller with arguments of an overridden page view.
- ViewPageControllerTest::testHandleWithArgumentsWithoutOverridden in core/
modules/ views/ tests/ src/ Unit/ Routing/ ViewPageControllerTest.php - Tests the page controller with arguments on a non overridden page view.
- ViewPageControllerTest::testPageController in core/
modules/ views/ tests/ src/ Unit/ Routing/ ViewPageControllerTest.php - Tests the page controller.
- views.area.schema.yml in core/
modules/ views/ config/ schema/ views.area.schema.yml - core/modules/views/config/schema/views.area.schema.yml
- views.schema.yml in core/
modules/ views/ config/ schema/ views.schema.yml - core/modules/views/config/schema/views.schema.yml
- views.view.remove_default_argument_skip_url.yml in core/
modules/ views/ tests/ fixtures/ update/ views.view.remove_default_argument_skip_url.yml - core/modules/views/tests/fixtures/update/views.view.remove_default_argument_skip_url.yml
- views.view.taxonomy_term.yml in core/
profiles/ demo_umami/ config/ install/ views.view.taxonomy_term.yml - core/profiles/demo_umami/config/install/views.view.taxonomy_term.yml
- views.view.taxonomy_term.yml in core/
modules/ taxonomy/ config/ optional/ views.view.taxonomy_term.yml - core/modules/taxonomy/config/optional/views.view.taxonomy_term.yml
- views.view.taxonomy_translated_term_name_test.yml in core/
modules/ taxonomy/ tests/ modules/ taxonomy_test_views/ test_views/ views.view.taxonomy_translated_term_name_test.yml - core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.taxonomy_translated_term_name_test.yml
- views.view.test_area_view.yml in core/
modules/ views/ tests/ modules/ views_test_config/ test_views/ views.view.test_area_view.yml - core/modules/views/tests/modules/views_test_config/test_views/views.view.test_area_view.yml
- views.view.test_argument_transform_term.yml in core/
modules/ views/ tests/ modules/ views_test_config/ test_views/ views.view.test_argument_transform_term.yml - core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_transform_term.yml
- views.view.test_argument_validation.yml in core/
modules/ views/ tests/ modules/ views_test_config/ test_views/ views.view.test_argument_validation.yml - core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_validation.yml
- views.view.test_argument_validator_term.yml in core/
modules/ views/ tests/ modules/ views_test_config/ test_views/ views.view.test_argument_validator_term.yml - core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_validator_term.yml
- views.view.test_bulk_form.yml in core/
modules/ views/ tests/ modules/ action_bulk_test/ config/ install/ views.view.test_bulk_form.yml - core/modules/views/tests/modules/action_bulk_test/config/install/views.view.test_bulk_form.yml
- views.view.test_display_feed.yml in core/
modules/ views/ tests/ modules/ views_test_config/ test_views/ views.view.test_display_feed.yml - core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_feed.yml
- views.view.test_link_base_links.yml in core/
modules/ views/ tests/ modules/ views_test_config/ test_views/ views.view.test_link_base_links.yml - core/modules/views/tests/modules/views_test_config/test_views/views.view.test_link_base_links.yml
- views.view.test_taxonomy_name_argument.yml in core/
modules/ taxonomy/ tests/ modules/ taxonomy_test_views/ test_views/ views.view.test_taxonomy_name_argument.yml - core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_name_argument.yml
- views.view.test_view_block_with_context.yml in core/
modules/ block/ tests/ modules/ block_test_views/ test_views/ views.view.test_view_block_with_context.yml - core/modules/block/tests/modules/block_test_views/test_views/views.view.test_view_block_with_context.yml
- ViewsBlock::create in core/
modules/ views/ src/ Plugin/ Derivative/ ViewsBlock.php - Creates a new class instance.
- ViewsBlockBase::create in core/
modules/ views/ src/ Plugin/ Block/ ViewsBlockBase.php - Creates an instance of the plugin.
- ViewsEntitySchemaSubscriberIntegrationTest::getUpdatedViewAndDisplay in core/
modules/ views/ tests/ src/ Kernel/ EventSubscriber/ ViewsEntitySchemaSubscriberIntegrationTest.php - Gets a view and its display.
- ViewsEntitySchemaSubscriberIntegrationTest::testBaseTableRename in core/
modules/ views/ tests/ src/ Kernel/ EventSubscriber/ ViewsEntitySchemaSubscriberIntegrationTest.php - Tests that renaming base tables adapts the views.
- ViewsEntitySchemaSubscriberIntegrationTest::testBrokenView in core/
modules/ views/ tests/ src/ Kernel/ EventSubscriber/ ViewsEntitySchemaSubscriberIntegrationTest.php - Tests that broken views are handled gracefully.
- ViewsEntitySchemaSubscriberIntegrationTest::testDataTableAddition in core/
modules/ views/ tests/ src/ Kernel/ EventSubscriber/ ViewsEntitySchemaSubscriberIntegrationTest.php - Tests that adding data tables adapts the views.
- ViewsEntitySchemaSubscriberIntegrationTest::testDataTableRename in core/
modules/ views/ tests/ src/ Kernel/ EventSubscriber/ ViewsEntitySchemaSubscriberIntegrationTest.php - Tests that renaming data tables adapts the views.
- ViewsEntitySchemaSubscriberIntegrationTest::testDeleteEntityType in core/
modules/ views/ tests/ src/ Kernel/ EventSubscriber/ ViewsEntitySchemaSubscriberIntegrationTest.php - Tests that views are disabled when an entity type is deleted.
- ViewsEntitySchemaSubscriberIntegrationTest::testRevisionBaseTableRename in core/
modules/ views/ tests/ src/ Kernel/ EventSubscriber/ ViewsEntitySchemaSubscriberIntegrationTest.php - Tests that renaming revision tables adapts the views.
- ViewsEntitySchemaSubscriberIntegrationTest::testRevisionDataTableRename in core/
modules/ views/ tests/ src/ Kernel/ EventSubscriber/ ViewsEntitySchemaSubscriberIntegrationTest.php - Tests that renaming revision tables adapts the views.
- ViewsEntitySchemaSubscriberIntegrationTest::testRevisionDisabling in core/
modules/ views/ tests/ src/ Kernel/ EventSubscriber/ ViewsEntitySchemaSubscriberIntegrationTest.php - Tests that removing revision support disables the view.
- ViewsEntitySchemaSubscriberIntegrationTest::testRevisionEnabling in core/
modules/ views/ tests/ src/ Kernel/ EventSubscriber/ ViewsEntitySchemaSubscriberIntegrationTest.php - Tests that enabling revisions doesn't do anything.
- ViewsEntitySchemaSubscriberIntegrationTest::testViewSaveException in core/
modules/ views/ tests/ src/ Kernel/ EventSubscriber/ ViewsEntitySchemaSubscriberIntegrationTest.php - Tests the case when a view could not be updated automatically.
- ViewsExposedFilterBlock::create in core/
modules/ views/ src/ Plugin/ Derivative/ ViewsExposedFilterBlock.php - Creates a new class instance.
- ViewsExposedForm::buildForm in core/
modules/ views/ src/ Form/ ViewsExposedForm.php - Form constructor.
- ViewsExposedForm::submitForm in core/
modules/ views/ src/ Form/ ViewsExposedForm.php - Form submission handler.
- ViewsExposedForm::validateForm in core/
modules/ views/ src/ Form/ ViewsExposedForm.php - Form validation handler.
- ViewsFormBase::getForm in core/
modules/ views_ui/ src/ Form/ Ajax/ ViewsFormBase.php - Creates a new instance of this form.
- ViewsHooksTest::setUp in core/
modules/ views/ tests/ src/ Kernel/ ViewsHooksTest.php - ViewsHooksTest::testHooks in core/
modules/ views/ tests/ src/ Kernel/ ViewsHooksTest.php - Tests the hooks.
- ViewsLocalTask::create in core/
modules/ views/ src/ Plugin/ Derivative/ ViewsLocalTask.php - Creates a new class instance.
- ViewsMenuLink::create in core/
modules/ views/ src/ Plugin/ Derivative/ ViewsMenuLink.php - Creates a new class instance.
- ViewsSelection::buildConfigurationForm in core/
modules/ views/ src/ Plugin/ EntityReferenceSelection/ ViewsSelection.php - Form constructor.
- ViewsTest::testGetApplicableViews in core/
modules/ views/ tests/ src/ Unit/ ViewsTest.php - @covers ::getApplicableViews
- ViewsTest::testGetView in core/
modules/ views/ tests/ src/ Unit/ ViewsTest.php - Tests the getView() method.
- ViewStorageTest::testConfigurationEntityCRUD in core/
modules/ views/ tests/ src/ Kernel/ ViewStorageTest.php - Tests CRUD operations.
- views_add_contextual_links in core/
modules/ views/ views.module - Adds contextual links associated with a view display to a renderable array.
- views_post_update_add_missing_labels in core/
modules/ views/ views.post_update.php - Add labels to views which don't have one.
- views_post_update_fix_revision_id_part in core/
modules/ views/ views.post_update.php - Fix '-revision_id' replacement token syntax.
- views_post_update_oembed_eager_load in core/
modules/ views/ views.post_update.php - Add eager load option to all oembed type field configurations.
- views_post_update_pager_heading in core/
modules/ views/ views.post_update.php - Adds a default pager heading.
- views_post_update_remove_default_argument_skip_url in core/
modules/ views/ views.post_update.php - Remove default_argument_skip_url setting.
- views_post_update_rendered_entity_field_cache_metadata in core/
modules/ views/ views.post_update.php - Removes entity display cache metadata from views with rendered entity fields.
- views_post_update_responsive_image_lazy_load in core/
modules/ views/ views.post_update.php - Add lazy load options to all responsive image type field configurations.
- views_post_update_taxonomy_filter_user_context in core/
modules/ views/ views.post_update.php - Removes User context from views with taxonomy filters.
- views_post_update_timestamp_formatter in core/
modules/ views/ views.post_update.php - Update timestamp formatter settings for views.
- views_post_update_views_data_argument_plugin_id in core/
modules/ views/ views.post_update.php - Post update configured views for entity reference argument plugin IDs.
- views_tokens in core/
modules/ views/ views.tokens.inc - Implements hook_tokens().
- views_token_info in core/
modules/ views/ views.tokens.inc - Implements hook_token_info().
- views_token_info in core/
modules/ views/ views.tokens.inc - Implements hook_token_info().
- views_ui.routing.yml in core/
modules/ views_ui/ views_ui.routing.yml - core/modules/views_ui/views_ui.routing.yml
- views_ui_standard_display_dropdown in core/
modules/ views_ui/ admin.inc - Adds an element to select either the default display or the current display.
- views_views_data in core/
modules/ views/ views.views.inc - Implements hook_views_data().
- ViewTest::setUp in core/
modules/ views/ tests/ src/ Unit/ Plugin/ area/ ViewTest.php - ViewTestData::createTestViews in core/
modules/ views/ src/ Tests/ ViewTestData.php - Create test views from config.
- ViewUI::renderPreview in core/
modules/ views_ui/ src/ ViewUI.php - ViewUI::__construct in core/
modules/ views_ui/ src/ ViewUI.php - Constructs a View UI object.
- ViewUIObjectTest::testSerialization in core/
modules/ views_ui/ tests/ src/ Unit/ ViewUIObjectTest.php - Tests serialization of the ViewUI object.
- VocabularyAccessControlHandler::checkAccess in core/
modules/ taxonomy/ src/ VocabularyAccessControlHandler.php - Performs access checks.
- WorkflowAccessControlHandlerTest::checkAccessProvider in core/
modules/ workflows/ tests/ src/ Kernel/ WorkflowAccessControlHandlerTest.php - Data provider for ::testCheckAccess.
- WorkspaceAccessControlHandler::checkAccess in core/
modules/ workspaces/ src/ WorkspaceAccessControlHandler.php - Performs access checks.
- WorkspaceAccessTest::operationCases in core/
modules/ workspaces/ tests/ src/ Kernel/ WorkspaceAccessTest.php - Tests cases for testWorkspaceAccess().
- WorkspaceManager::doSwitchWorkspace in core/
modules/ workspaces/ src/ WorkspaceManager.php - Switches the current workspace.
- WorkspaceManager::getActiveWorkspace in core/
modules/ workspaces/ src/ WorkspaceManager.php - WorkspaceSelection::getReferenceableEntities in core/
modules/ workspaces/ src/ Plugin/ EntityReferenceSelection/ WorkspaceSelection.php - Gets the list of referenceable entities.
- WorkspaceViewsBulkFormTest::testBulkForm in core/
modules/ workspaces/ tests/ src/ Functional/ WorkspaceViewsBulkFormTest.php - Tests the bulk form.
- _views_test_query_access_restrict_by_uuid in core/
modules/ views/ tests/ modules/ views_test_query_access/ views_test_query_access.module - Excludes entities with the 'hidden-ENTITY_TYPE_ID' UUID from a query.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.