Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
WebTestBase.php
»
WebTestBase
»
WebTestBase::checkPermissions
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
10 calls to WebTestBase::checkPermissions()
BlockTest::setUp
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
Tests/
BlockTest.php
Sets up a Drupal site for running functional and integration tests.
FilterDefaultFormatTest::resetFilterCaches
in drupal/
core/
modules/
filter/
lib/
Drupal/
filter/
Tests/
FilterDefaultFormatTest.php
Rebuild text format and permission caches in the thread running the tests.
FilterFormatAccessTest::resetFilterCaches
in drupal/
core/
modules/
filter/
lib/
Drupal/
filter/
Tests/
FilterFormatAccessTest.php
Rebuild text format and permission caches in the thread running the tests.
FilterHtmlImageSecureTest::setUp
in drupal/
core/
modules/
filter/
lib/
Drupal/
filter/
Tests/
FilterHtmlImageSecureTest.php
Sets up a Drupal site for running functional and integration tests.
TextFieldTest::_testTextfieldWidgetsFormatted
in drupal/
core/
modules/
field/
modules/
text/
lib/
Drupal/
text/
Tests/
TextFieldTest.php
Helper function for testTextfieldWidgetsFormatted().
UserSignatureTest::setUp
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserSignatureTest.php
Sets up a Drupal site for running functional and integration tests.
ViewTestBase::enableViewsTestModule
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
ViewTestBase.php
Sets up the
views_test_data.module
.
WebTestBase::drupalCreateContentType
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Creates a custom content type based on default settings.
WebTestBase::drupalCreateRole
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Internal helper function; Create a role with specified permissions.
WebTestBase::resetAll
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Reset all data structures after having enabled new modules.