Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
BackendCompilerPassTest::testProcess function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/BackendCompilerPassTest.php Tests the process method.
badge.component.yml file core/profiles/demo_umami/themes/umami/components/badge/badge.component.yml core/profiles/demo_umami/themes/umami/components/badge/badge.component.yml
badge.css file core/profiles/demo_umami/themes/umami/components/badge/badge.css .umami-badge__container {
display: flex;
align-items: center;
gap: 0.5rem;
}

/* Large */
@media screen and (min-width: 60rem) {
/* 960px */
.umami-badge__container {
flex-direction: column;
gap: 0;
width: 100%;
badge.twig file core/profiles/demo_umami/themes/umami/components/badge/badge.twig <div{{ attributes.addClass('umami-badge') }}>
<div class="umami-badge__container">
{% if icon %}
<div class="umami-badge__icon">
{{ source(componentMetadata.path ~ '/icons/'…
BadPluginDefinitionException class core/modules/migrate/src/Plugin/Exception/BadPluginDefinitionException.php Defines a class for bad plugin definition exceptions.
BadPluginDefinitionException.php file core/modules/migrate/src/Plugin/Exception/BadPluginDefinitionException.php
BadPluginDefinitionException::__construct function core/modules/migrate/src/Plugin/Exception/BadPluginDefinitionException.php Constructs a BadPluginDefinitionException.
bad_3 function core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php Simulates a hook_update_N function.
bad_help_topics.bad_html.html.twig file core/modules/help/tests/modules/help_topics_test/bad_help_topics/syntax/bad_help_topics.bad_html.html.twig ---
label: 'Help topic with bad HTML syntax'
top_level: true
---
<p>{% trans %}Body goes here{% endtrans %}</h3>
bad_help_topics.bad_html2.html.twig file core/modules/help/tests/modules/help_topics_test/bad_help_topics/syntax/bad_help_topics.bad_html2.html.twig ---
label: 'Bad HTML syntax within trans section'
top_level: true
---
<p>{% trans %}<a href="/foo">Text here{% endtrans %}</a></p>
bad_help_topics.bad_html3.html.twig file core/modules/help/tests/modules/help_topics_test/bad_help_topics/syntax/bad_help_topics.bad_html3.html.twig ---
label: 'Unclosed HTML tag'
top_level: true
---
<p>{% trans %}<a href="/foo">Text here{% endtrans %}</p>
bad_help_topics.empty.html.twig file core/modules/help/tests/modules/help_topics_test/bad_help_topics/syntax/bad_help_topics.empty.html.twig ---
label: 'Help topic containing no body'
top_level: true
---
bad_help_topics.h1.html.twig file core/modules/help/tests/modules/help_topics_test/bad_help_topics/syntax/bad_help_topics.h1.html.twig ---
label: 'Help topic with H1 header'
top_level: true
---
<h1>{% trans %}Body goes here{% endtrans %}</h1>
bad_help_topics.hierarchy.html.twig file core/modules/help/tests/modules/help_topics_test/bad_help_topics/syntax/bad_help_topics.hierarchy.html.twig ---
label: 'Help topic with h3 without an h2'
top_level: true
---
<h3>{% trans %}Body goes here{% endtrans %}</h3>
bad_help_topics.locale.html.twig file core/modules/help/tests/modules/help_topics_test/bad_help_topics/syntax/bad_help_topics.locale.html.twig ---
label: 'Help topic with locale-unsafe tag'
top_level: true
---
<p>{% trans %}some translated text and a <script>alert('hello')</script>{% endtrans %}</p>
bad_help_topics.related.html.twig file core/modules/help/tests/modules/help_topics_test/bad_help_topics/syntax/bad_help_topics.related.html.twig ---
label: 'Help topic related to nonexistent topic'
top_level: true
related:
- this.is.not.a.valid.help_topic.id
---
<p>{% trans %}Body goes here{% trans %}</p>
bad_help_topics.top_level.html.twig file core/modules/help/tests/modules/help_topics_test/bad_help_topics/syntax/bad_help_topics.top_level.html.twig ---
label: 'Help topic not top level or related to top level'
---
<p>{% trans %}Body goes here{% endtrans %}</p>
bad_help_topics.translated.html.twig file core/modules/help/tests/modules/help_topics_test/bad_help_topics/syntax/bad_help_topics.translated.html.twig ---
label: 'Help topic with untranslated text'
top_level: true
---
<p>Body goes here</p>
<p>{% trans %}some translated text too{% endtrans %}</p>
bad_help_topics.url_func_used.html.twig file core/modules/help/tests/modules/help_topics_test/bad_help_topics/syntax/bad_help_topics.url_func_used.html.twig ---
label: 'URL test topic that uses outdated url function'
top_level: true
---
{% set link_uses_url_func = render_var(url('valid.route')) %}
<p>{% trans %}This topic should be top-level. It is used to test URLs{% endtrans…
BaloneySpam class core/modules/block/tests/modules/block_test/src/Plugin/Condition/BaloneySpam.php Provides a 'baloney_spam' condition.
BaloneySpam.php file core/modules/block/tests/modules/block_test/src/Plugin/Condition/BaloneySpam.php
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/ban/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.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.
BanAdminTest class core/modules/ban/tests/src/Unit/BanAdminTest.php Tests the BanAdmin form.
BanAdminTest.php file core/modules/ban/tests/src/Unit/BanAdminTest.php
BanAdminTest::getIpManagerMock function core/modules/ban/tests/src/Unit/BanAdminTest.php Get the mocked IP manager service.
BanAdminTest::getRequestStackMock function core/modules/ban/tests/src/Unit/BanAdminTest.php Get a request stack with a dummy IP.
BanAdminTest::providerIpValidation function core/modules/ban/tests/src/Unit/BanAdminTest.php Data provider for testIpValidation().
BanAdminTest::testIpValidation function core/modules/ban/tests/src/Unit/BanAdminTest.php Tests various user input to confirm correct validation.
BanAdminTest::testRouteParameter function core/modules/ban/tests/src/Unit/BanAdminTest.php Test passing an IP address as a route parameter.
BanAdminTest::testSubmit function core/modules/ban/tests/src/Unit/BanAdminTest.php Test form submission.

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