function NodeRequirementsStatusFilterWarningTest::getStatusFilterConfig
Helper to get status filter configuration.
8 calls to NodeRequirementsStatusFilterWarningTest::getStatusFilterConfig()
- NodeRequirementsStatusFilterWarningTest::testDescriptionWithMultipleViewsAndSingleModule in core/
modules/ node/ tests/ src/ Kernel/ NodeRequirementsStatusFilterWarningTest.php - Tests description with multiple views and one access module.
- NodeRequirementsStatusFilterWarningTest::testDescriptionWithSingleViewAndSingleModule in core/
modules/ node/ tests/ src/ Kernel/ NodeRequirementsStatusFilterWarningTest.php - Tests description with one view and one access module.
- NodeRequirementsStatusFilterWarningTest::testDescriptionWithViewsUiDisabled in core/
modules/ node/ tests/ src/ Kernel/ NodeRequirementsStatusFilterWarningTest.php - Tests description formatting with Views UI disabled.
- NodeRequirementsStatusFilterWarningTest::testDescriptionWithViewsUiEnabledWithoutUserHavingEditViewDisplayAccess in core/
modules/ node/ tests/ src/ Kernel/ NodeRequirementsStatusFilterWarningTest.php - Tests description when Views UI is enabled but user cannot edit views.
- NodeRequirementsStatusFilterWarningTest::testDescriptionWithViewsUiEnabledWithUserHavingEditViewDisplayAccess in core/
modules/ node/ tests/ src/ Kernel/ NodeRequirementsStatusFilterWarningTest.php - Tests description when Views UI is enabled but user can edit views.
File
-
core/
modules/ node/ tests/ src/ Kernel/ NodeRequirementsStatusFilterWarningTest.php, line 250
Class
- NodeRequirementsStatusFilterWarningTest
- Tests redundant status filter warnings raised by node_requirements().
Namespace
Drupal\Tests\node\KernelCode
private function getStatusFilterConfig() : array {
return [
'id' => 'status',
'table' => 'node_field_data',
'field' => 'status',
'plugin_id' => 'node_status',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.