ActiveWorkspaceCheckTest::$container

Same name and namespace in other branches
  1. 9 core/modules/workspaces/tests/src/Unit/ActiveWorkspaceCheckTest.php \Drupal\Tests\workspaces\Unit\ActiveWorkspaceCheckTest::container
  2. 8.9.x core/modules/workspaces/tests/src/Unit/ActiveWorkspaceCheckTest.php \Drupal\Tests\workspaces\Unit\ActiveWorkspaceCheckTest::container
  3. 10 core/modules/workspaces/tests/src/Unit/ActiveWorkspaceCheckTest.php \Drupal\Tests\workspaces\Unit\ActiveWorkspaceCheckTest::container

The dependency injection container.

Type: \Symfony\Component\DependencyInjection\ContainerBuilder

File

core/modules/workspaces/tests/src/Unit/ActiveWorkspaceCheckTest.php, line 28

Class

ActiveWorkspaceCheckTest
@coversDefaultClass <a href="/api/drupal/core%21modules%21workspaces%21src%21Access%21ActiveWorkspaceCheck.php/class/ActiveWorkspaceCheck/11.x" title="Determines access to routes based on the presence of an active workspace." class="local">\Drupal\workspaces\Access\ActiveWorkspaceCheck</a>

Namespace

Drupal\Tests\workspaces\Unit

Code

protected $container;

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