Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 8.9.x for to
  4. Search 10.3.x for to
  5. Other projects
Title Object type File name Summary
AutowireTest class core/tests/Drupal/KernelTests/Core/DependencyInjection/AutowireTest.php Tests auto-wiring services.
AutowireTest.php file core/tests/Drupal/KernelTests/Core/DependencyInjection/AutowireTest.php
AutowireTest::$modules property core/tests/Drupal/KernelTests/Core/DependencyInjection/AutowireTest.php Modules to install.
AutowireTest::testAutowire function core/tests/Drupal/KernelTests/Core/DependencyInjection/AutowireTest.php Tests that 'autowire_test.service' has its dependencies injected.
AutowireTest::testCoreControllerAutowiring function core/tests/Drupal/KernelTests/Core/DependencyInjection/AutowireTest.php Tests that core controllers are autowired where possible.
AutowireTest::testCoreServiceAliases function core/tests/Drupal/KernelTests/Core/DependencyInjection/AutowireTest.php Tests that core services have aliases correctly defined where possible.
AutowireTrait trait core/lib/Drupal/Core/DependencyInjection/AutowireTrait.php Defines a trait for automatically wiring dependencies from the container.
AutowireTrait.php file core/lib/Drupal/Core/DependencyInjection/AutowireTrait.php
AutowireTrait::create function core/lib/Drupal/Core/DependencyInjection/AutowireTrait.php Instantiates a new instance of the implementing class using autowiring.
autowire_test.info.yml file core/modules/system/tests/modules/autowire_test/autowire_test.info.yml core/modules/system/tests/modules/autowire_test/autowire_test.info.yml
autowire_test.services.yml file core/modules/system/tests/modules/autowire_test/autowire_test.services.yml core/modules/system/tests/modules/autowire_test/autowire_test.services.yml
AvifImageEffect::$imageToolkitManager property core/modules/image/src/Plugin/ImageEffect/AvifImageEffect.php The image toolkit manager.
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…
BaseFieldDefinition::createFromFieldStorageDefinition function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Creates a new field definition based upon a field storage definition.
BaseFieldDefinition::getFieldStorageDefinition function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the field storage definition.
BaseFieldDefinition::getOptionsProvider function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Gets an options provider for the given field item property.
BaseFieldDefinition::getUniqueStorageIdentifier function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns a unique identifier for the field storage.
BaseFieldDefinition::hasCustomStorage function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the storage behavior for this field.
BaseFieldDefinition::isStorageRequired function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns whether the field storage is required.
BaseFieldDefinition::setCustomStorage function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets the storage behavior for this field.
BaseFieldDefinition::setStorageRequired function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets whether the field storage is required.
BaseFieldDefinitionTest::testCustomStorage function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests custom storage.
BaseFieldDefinitionTest::testFieldStorageRequired function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests storage required.
BaseFieldFileFormatterBase::$fileUrlGenerator property core/modules/file/src/Plugin/Field/FieldFormatter/BaseFieldFileFormatterBase.php The file URL generator.
BaseFieldOverride::getFieldStorageDefinition function core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php Returns the field storage definition.
BaseFieldOverrideStorage class core/lib/Drupal/Core/Field/BaseFieldOverrideStorage.php Storage class for base field overrides.
BaseFieldOverrideStorage.php file core/lib/Drupal/Core/Field/BaseFieldOverrideStorage.php
BaseFieldOverrideStorage::createInstance function core/lib/Drupal/Core/Field/BaseFieldOverrideStorage.php Instantiates a new instance of this entity handler.
BaseFieldOverrideStorage::__construct function core/lib/Drupal/Core/Field/BaseFieldOverrideStorage.php Constructs a BaseFieldOverrideStorage object.
BaseFileConstraintValidator class core/modules/file/src/Plugin/Validation/Constraint/BaseFileConstraintValidator.php Provides a base class for file constraint validators.
BaseFileConstraintValidator.php file core/modules/file/src/Plugin/Validation/Constraint/BaseFileConstraintValidator.php
BaseFileConstraintValidator::assertValueIsFile function core/modules/file/src/Plugin/Validation/Constraint/BaseFileConstraintValidator.php Checks the value is of type FileInterface.
BaseRequirementsFulfilledValidator class core/modules/package_manager/src/Validator/BaseRequirementsFulfilledValidator.php Validates that base requirements do not have any errors.
BaseRequirementsFulfilledValidator.php file core/modules/package_manager/src/Validator/BaseRequirementsFulfilledValidator.php
BaseRequirementsFulfilledValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/BaseRequirementsFulfilledValidator.php
BaseRequirementsFulfilledValidator::PRIORITY constant core/modules/package_manager/src/Validator/BaseRequirementsFulfilledValidator.php The priority of this validator.
BaseRequirementsFulfilledValidator::validate function core/modules/package_manager/src/Validator/BaseRequirementsFulfilledValidator.php Validates that base requirements are fulfilled.
BaseRequirementsFulfilledValidatorTest class core/modules/package_manager/tests/src/Kernel/BaseRequirementsFulfilledValidatorTest.php @covers \Drupal\package_manager\Validator\BaseRequirementsFulfilledValidator[[api-linebreak]]
@covers \Drupal\package_manager\Validator\BaseRequirementValidatorTrait[[api-linebreak]]
BaseRequirementsFulfilledValidatorTest.php file core/modules/package_manager/tests/src/Kernel/BaseRequirementsFulfilledValidatorTest.php
BaseRequirementsFulfilledValidatorTest::$eventClass property core/modules/package_manager/tests/src/Kernel/BaseRequirementsFulfilledValidatorTest.php The event class to throw to an error for.

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