function container_test_file_service_test_service_function

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/Tests/Component/DependencyInjection/Fixture/container_test_file_service_test_service_function.php \container_test_file_service_test_service_function()

Test function for container testing.

Return value

string A string just for testing.

1 call to container_test_file_service_test_service_function()
ContainerTest::testGetWithFileInclude in core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php
Tests that Container::get() for services with file includes works.
1 string reference to 'container_test_file_service_test_service_function'
ContainerTest::testGetWithFileInclude in core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php
Tests that Container::get() for services with file includes works.

File

core/tests/Drupal/Tests/Component/DependencyInjection/Fixture/container_test_file_service_test_service_function.php, line 14

Code

function container_test_file_service_test_service_function() {
    return 'Hello Container';
}

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