Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| ban.migrate_drupal.yml | file | core/ |
core/modules/ban/migrations/state/ban.migrate_drupal.yml |
| ban.permissions.yml | file | core/ |
core/modules/ban/ban.permissions.yml |
| ban.routing.yml | file | core/ |
core/modules/ban/ban.routing.yml |
| ban.services.yml | file | core/ |
core/modules/ban/ban.services.yml |
| BanAdmin | class | core/ |
Displays banned IP addresses. |
| BanAdmin.php | file | core/ |
|
| BanAdmin::$ipManager | property | core/ |
|
| BanAdmin::buildForm | function | core/ |
|
| BanAdmin::create | function | core/ |
Instantiates a new instance of the implementing class using autowiring. |
| BanAdmin::getFormId | function | core/ |
Returns a unique string identifying the form. |
| BanAdmin::submitForm | function | core/ |
Form submission handler. |
| BanAdmin::validateForm | function | core/ |
Form validation handler. |
| BanAdmin::__construct | function | core/ |
Constructs a new BanAdmin object. |
| BanAdminTest | class | core/ |
Tests the BanAdmin form. |
| BanAdminTest.php | file | core/ |
|
| BanAdminTest::getIpManagerMock | function | core/ |
Get the mocked IP manager service. |
| BanAdminTest::getRequestStackMock | function | core/ |
Get a request stack with a dummy IP. |
| BanAdminTest::providerIpValidation | function | core/ |
Data provider for testIpValidation(). |
| BanAdminTest::testIpValidation | function | core/ |
Tests various user input to confirm correct validation. |
| BanAdminTest::testRouteParameter | function | core/ |
Test passing an IP address as a route parameter. |
| BanAdminTest::testSubmit | function | core/ |
Test form submission. |
| Banana | class | core/ |
Plugin annotation @Plugin( id = "banana", label = "Banana", color = "yellow", uses = { "bread" = @Translation("Banana bread"), "loaf" = @PluralTranslation( singular = "@count loaf", plural = "@count loaves" ) } ) |
| Banana.php | file | core/ |
|
| BanDelete | class | core/ |
Provides a form to unban IP addresses. |
| BanDelete.php | file | core/ |
|
| BanDelete::$banIp | property | core/ |
The banned IP address. |
| BanDelete::$ipManager | property | core/ |
The IP manager. |
| BanDelete::buildForm | function | core/ |
|
| BanDelete::create | function | core/ |
Instantiates a new instance of the implementing class using autowiring. |
| BanDelete::getCancelUrl | function | core/ |
Returns the route to go to if the user cancels the action. |
| BanDelete::getConfirmText | function | core/ |
Returns a caption for the button that confirms the action. |
| BanDelete::getFormId | function | core/ |
Returns a unique string identifying the form. |
| BanDelete::getQuestion | function | core/ |
Returns the question to ask the user. |
| BanDelete::submitForm | function | core/ |
Form submission handler. |
| BanDelete::__construct | function | core/ |
Constructs a new BanDelete object. |
| BanHooks | class | core/ |
Hook implementations for ban. |
| BanHooks.php | file | core/ |
|
| BanHooks::help | function | core/ |
Implements hook_help(). |
| BanIpManager | class | core/ |
Ban IP manager. |
| BanIpManager.php | file | core/ |
|
| BanIpManager::$connection | property | core/ |
The database connection used to check the IP against. |
| BanIpManager::banIp | function | core/ |
Bans an IP address. |
| BanIpManager::findAll | function | core/ |
Finds all banned IP addresses. |
| BanIpManager::findById | function | core/ |
Finds a banned IP address by its ID. |
| BanIpManager::isBanned | function | core/ |
Returns if this IP address is banned. |
| BanIpManager::unbanIp | function | core/ |
Removes the ban of an IP address. |
| BanIpManager::__construct | function | core/ |
Constructs a BanIpManager object. |
| BanIpManagerInterface | interface | core/ |
Provides an interface defining a BanIp manager. |
| BanIpManagerInterface.php | file | core/ |
|
| BanIpManagerInterface::banIp | function | core/ |
Bans an IP address. |
Pagination
- Previous page
- Page 73
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.