12 calls to EntityUrlTest::getEntity() in Drupal 8
- 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.