12 calls to EntityUrlTest::getEntity()
- EntityUrlTest::testLink in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityUrlTest.php - Tests the link() method.
- EntityUrlTest::testToUrlLinkTemplateAddForm in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityUrlTest.php - Tests the toUrl() method with the 'revision' link template.
- EntityUrlTest::testToUrlLinkTemplateNoId in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityUrlTest.php - Tests the toUrl() method with link templates without an entity ID.
- EntityUrlTest::testToUrlLinkTemplateRevision in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityUrlTest.php - Tests the toUrl() method with the 'revision' link template.
- EntityUrlTest::testToUrlLinkTemplates in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityUrlTest.php - Tests the toUrl() method with simple link templates.
- EntityUrlTest::testToUrlNoId in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityUrlTest.php - Tests the toUrl() method without an entity ID.
- EntityUrlTest::testToUrlUriCallback in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityUrlTest.php - Tests the toUrl() method with a URI callback.
- EntityUrlTest::testToUrlUriCallbackUndefined in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityUrlTest.php - Tests the toUrl() method with neither link templates nor a URI callback.
- EntityUrlTest::testUriRelationships in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityUrlTest.php - Tests the uriRelationships() method.
- EntityUrlTest::testUrl in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityUrlTest.php - Tests the url() method.
- EntityUrlTest::testUrlEmpty in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityUrlTest.php - Tests the url() method without an entity ID.
- EntityUrlTest::testUrlInfo in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityUrlTest.php - Tests the urlInfo() method.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.