Search for Unit

  1. Search 7.x for Unit
  2. Search 9.5.x for Unit
  3. Search 8.9.x for Unit
  4. Search 10.3.x for Unit
  5. Search 11.x for Unit
  6. Other projects
Title Object type File name Summary
ContextualUnitTest::testThemePlaceholder function core/modules/contextual/tests/src/Kernel/ContextualUnitTest.php Tests the placeholder of contextual links in a specific theme.
CssCollectionGrouperUnitTest class core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php Tests the CSS asset collection grouper.
CssCollectionGrouperUnitTest.php file core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php
CssCollectionGrouperUnitTest::$grouper property core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php A CSS asset grouper.
CssCollectionGrouperUnitTest::setUp function core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php
CssCollectionGrouperUnitTest::testGrouper function core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php Tests \Drupal\Core\Asset\CssCollectionGrouper.
CssCollectionGrouperUnitTest::testGrouperWithAggregateTargets function core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php Tests \Drupal\Core\Asset\CssCollectionGrouper.
CssCollectionOptimizerLazyUnitTest class core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerLazyUnitTest.php Tests the CSS asset optimizer.
CssCollectionOptimizerLazyUnitTest.php file core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerLazyUnitTest.php
CssCollectionOptimizerLazyUnitTest::$fileUrlGenerator property core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerLazyUnitTest.php The file URL generator mock.
CssCollectionOptimizerLazyUnitTest::$optimizer property core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerLazyUnitTest.php A CSS asset optimizer.
CssCollectionOptimizerLazyUnitTest::setUp function core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerLazyUnitTest.php
CssCollectionOptimizerLazyUnitTest::testCssImport function core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerLazyUnitTest.php Tests that CSS imports with strange letters do not destroy the CSS output.
CssCollectionOptimizerLazyUnitTest::testCssLicenseAggregation function core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerLazyUnitTest.php Test that license information is added correctly to aggregated CSS.
CssCollectionOptimizerLazyUnitTest::testExternalMinifiedCssAssetOptimizationIsSkipped function core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerLazyUnitTest.php Test that external minified CSS assets do not trigger optimization.
CssCollectionOptimizerLazyUnitTest::testLocalMinifiedCssAssetOptimizationIsNotSkipped function core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerLazyUnitTest.php Test that local minified CSS assets still trigger optimization.
CssCollectionOptimizerLazyUnitTest::testRelativePathsInLocalMinifiedCssAssets function core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerLazyUnitTest.php Test that relative paths in local minified CSS files are updated.
CssCollectionRendererUnitTest class core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php Tests the CSS asset collection renderer.
CssCollectionRendererUnitTest.php file core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php
CssCollectionRendererUnitTest::$fileCssGroup property core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php A valid file CSS asset group.
CssCollectionRendererUnitTest::$renderer property core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php A CSS asset renderer.
CssCollectionRendererUnitTest::providerTestRender function core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php Provides data for the CSS asset rendering test.
CssCollectionRendererUnitTest::setUp function core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php
CssCollectionRendererUnitTest::testRender function core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php Tests CSS asset rendering.
CssCollectionRendererUnitTest::testRenderInvalidType function core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php Tests a CSS asset group with the invalid 'type' => 'internal'.
CssOptimizerUnitTest class core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php Tests the CSS asset optimizer.
CssOptimizerUnitTest.php file core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php
CssOptimizerUnitTest::$fileUrlGenerator property core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php The file URL generator mock.
CssOptimizerUnitTest::$optimizer property core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php A CSS asset optimizer.
CssOptimizerUnitTest::providerTestOptimize function core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php Provides data for the CSS asset optimizing test.
CssOptimizerUnitTest::setUpOptimizer function core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php
CssOptimizerUnitTest::testOptimize function core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php Tests optimizing a CSS asset group containing 'type' => 'file'.
CssOptimizerUnitTest::testTypeExternal function core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php Tests a CSS asset with 'type' => 'external'.
CssOptimizerUnitTest::testTypeFilePreprocessingDisabled function core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php Tests a file CSS asset with preprocessing disabled.
DateFormatter::$units property core/lib/Drupal/Core/Datetime/DateFormatter.php Contains the different date interval units.
Dimension::$unit property core/lib/Drupal/Core/Theme/Plugin/DesignTokenValue/Dimension.php Unit of distance.
DimensionTest::testEnumUnit function core/tests/Drupal/Tests/Core/Theme/DesignToken/Plugin/DimensionTest.php Tests creating a dimension plugin with an enum unit.
DimensionTest::testInvalidUnit function core/tests/Drupal/Tests/Core/Theme/DesignToken/Plugin/DimensionTest.php Tests invalid unit.
DimensionUnit.php file core/lib/Drupal/Core/Theme/DesignToken/Enum/DimensionUnit.php
DimensionUnitInterface interface core/lib/Drupal/Core/Theme/DesignToken/Enum/DimensionUnitInterface.php Interface for dimension units.
DimensionUnitInterface.php file core/lib/Drupal/Core/Theme/DesignToken/Enum/DimensionUnitInterface.php
DriverSpecificConnectionUnitTestBase class core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Tests management of database connections.
DriverSpecificConnectionUnitTestBase.php file core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php
DriverSpecificConnectionUnitTestBase::$id property core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php The connection ID of the current test connection.
DriverSpecificConnectionUnitTestBase::$monitor property core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php A database connection used for monitoring processes.
DriverSpecificConnectionUnitTestBase::assertConnection function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Asserts that a connection ID exists.
DriverSpecificConnectionUnitTestBase::assertNoConnection function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Asserts that a connection ID does not exist.
DriverSpecificConnectionUnitTestBase::getConnectionId function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Returns the connection ID of the current test connection.
DriverSpecificConnectionUnitTestBase::getQuery function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Returns a set of queries specific for the database in testing.
DriverSpecificConnectionUnitTestBase::setUp function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php

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