Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
BaloneySpam::evaluate function core/modules/block/tests/modules/block_test/src/Plugin/Condition/BaloneySpam.php Evaluates the condition and returns TRUE or FALSE accordingly.
BaloneySpam::summary function core/modules/block/tests/modules/block_test/src/Plugin/Condition/BaloneySpam.php Provides a human readable summary of the condition's configuration.
ban.banning_ips.html.twig file core/modules/help_topics/help_topics/ban.banning_ips.html.twig ---
label: 'Banning IP addresses'
related:
- user.overview
---
{% set ban_link_text %}{% trans %}IP address bans{% endtrans %}{% endset %}
{% set ban_link = render_var(help_route_link(ban_link_text, 'ban.admin_page'))…
ban.info.yml file core/modules/ban/ban.info.yml core/modules/ban/ban.info.yml
ban.install file core/modules/ban/ban.install Install, update and uninstall functions for the Ban module.
ban.ip_manager service core/modules/ban/ban.services.yml Drupal\ban\BanIpManager
ban.links.menu.yml file core/modules/ban/ban.links.menu.yml core/modules/ban/ban.links.menu.yml
ban.middleware service core/modules/ban/ban.services.yml Drupal\ban\BanMiddleware
ban.migrate_drupal.yml file core/modules/ban/migrations/state/ban.migrate_drupal.yml core/modules/ban/migrations/state/ban.migrate_drupal.yml
ban.module file core/modules/ban/ban.module Allows to ban individual IP addresses.
ban.permissions.yml file core/modules/ban/ban.permissions.yml core/modules/ban/ban.permissions.yml
ban.routing.yml file core/modules/ban/ban.routing.yml core/modules/ban/ban.routing.yml
ban.services.yml file core/modules/ban/ban.services.yml core/modules/ban/ban.services.yml
BanAdmin class core/modules/ban/src/Form/BanAdmin.php Displays banned IP addresses.
BanAdmin.php file core/modules/ban/src/Form/BanAdmin.php
BanAdmin::$ipManager property core/modules/ban/src/Form/BanAdmin.php
BanAdmin::buildForm function core/modules/ban/src/Form/BanAdmin.php
BanAdmin::create function core/modules/ban/src/Form/BanAdmin.php Instantiates a new instance of this class.
BanAdmin::getFormId function core/modules/ban/src/Form/BanAdmin.php Returns a unique string identifying the form.
BanAdmin::submitForm function core/modules/ban/src/Form/BanAdmin.php Form submission handler.
BanAdmin::validateForm function core/modules/ban/src/Form/BanAdmin.php Form validation handler.
BanAdmin::__construct function core/modules/ban/src/Form/BanAdmin.php Constructs a new BanAdmin object.
Banana class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Banana.php 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/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Banana.php
BanDelete class core/modules/ban/src/Form/BanDelete.php Provides a form to unban IP addresses.
BanDelete.php file core/modules/ban/src/Form/BanDelete.php
BanDelete::$banIp property core/modules/ban/src/Form/BanDelete.php The banned IP address.
BanDelete::$ipManager property core/modules/ban/src/Form/BanDelete.php The IP manager.
BanDelete::buildForm function core/modules/ban/src/Form/BanDelete.php
BanDelete::create function core/modules/ban/src/Form/BanDelete.php Instantiates a new instance of this class.
BanDelete::getCancelUrl function core/modules/ban/src/Form/BanDelete.php Returns the route to go to if the user cancels the action.
BanDelete::getConfirmText function core/modules/ban/src/Form/BanDelete.php Returns a caption for the button that confirms the action.
BanDelete::getFormId function core/modules/ban/src/Form/BanDelete.php Returns a unique string identifying the form.
BanDelete::getQuestion function core/modules/ban/src/Form/BanDelete.php Returns the question to ask the user.
BanDelete::submitForm function core/modules/ban/src/Form/BanDelete.php Form submission handler.
BanDelete::__construct function core/modules/ban/src/Form/BanDelete.php Constructs a new BanDelete object.
BanIpManager class core/modules/ban/src/BanIpManager.php Ban IP manager.
BanIpManager.php file core/modules/ban/src/BanIpManager.php
BanIpManager::$connection property core/modules/ban/src/BanIpManager.php The database connection used to check the IP against.
BanIpManager::banIp function core/modules/ban/src/BanIpManager.php Bans an IP address.
BanIpManager::findAll function core/modules/ban/src/BanIpManager.php Finds all banned IP addresses.
BanIpManager::findById function core/modules/ban/src/BanIpManager.php Finds a banned IP address by its ID.
BanIpManager::isBanned function core/modules/ban/src/BanIpManager.php Returns if this IP address is banned.
BanIpManager::unbanIp function core/modules/ban/src/BanIpManager.php Unbans an IP address.
BanIpManager::__construct function core/modules/ban/src/BanIpManager.php Constructs a BanIpManager object.
BanIpManagerInterface interface core/modules/ban/src/BanIpManagerInterface.php Provides an interface defining a BanIp manager.
BanIpManagerInterface.php file core/modules/ban/src/BanIpManagerInterface.php
BanIpManagerInterface::banIp function core/modules/ban/src/BanIpManagerInterface.php Bans an IP address.
BanIpManagerInterface::findAll function core/modules/ban/src/BanIpManagerInterface.php Finds all banned IP addresses.
BanIpManagerInterface::findById function core/modules/ban/src/BanIpManagerInterface.php Finds a banned IP address by its ID.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.