function EntityTypeManagerTest::providerTestHasHandler

Provides test data for testHasHandler().

Return value

array Test data.

File

core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php, line 164

Class

EntityTypeManagerTest
@coversDefaultClass \Drupal\Core\Entity\EntityTypeManager[[api-linebreak]] @group Entity

Namespace

Drupal\Tests\Core\Entity

Code

public function providerTestHasHandler() {
  return [
    [
      'apple',
      TRUE,
    ],
    [
      'banana',
      FALSE,
    ],
    [
      'pear',
      FALSE,
    ],
  ];
}

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