You are here

protected function LingotekTestBase::getContentBulkManagementFormUrl in Lingotek Translation 3.1.x

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::getContentBulkManagementFormUrl()
  2. 4.0.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::getContentBulkManagementFormUrl()
  3. 3.0.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::getContentBulkManagementFormUrl()
  4. 3.2.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::getContentBulkManagementFormUrl()
  5. 3.3.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::getContentBulkManagementFormUrl()
  6. 3.4.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::getContentBulkManagementFormUrl()
  7. 3.5.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::getContentBulkManagementFormUrl()
  8. 3.6.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::getContentBulkManagementFormUrl()
  9. 3.7.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::getContentBulkManagementFormUrl()
  10. 3.8.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::getContentBulkManagementFormUrl()

Get the content bulk management url.

Parameters

string $entity_type_id: Entity type ID we want to manage in bulk. By default is node.

Return value

string The url.

2 calls to LingotekTestBase::getContentBulkManagementFormUrl()
LingotekTestBase::getDestination in tests/src/Functional/LingotekTestBase.php
LingotekTestBase::goToContentBulkManagementForm in tests/src/Functional/LingotekTestBase.php
Go to the content bulk management form.
2 methods override LingotekTestBase::getContentBulkManagementFormUrl()
LingotekNodeManageTranslationTabTest::getContentBulkManagementFormUrl in tests/src/Functional/LingotekNodeManageTranslationTabTest.php
We override this for the destination url.
LingotekNodeWithParagraphsManageTranslationTabTest::getContentBulkManagementFormUrl in tests/src/Functional/LingotekNodeWithParagraphsManageTranslationTabTest.php
We override this for the destination url.

File

tests/src/Functional/LingotekTestBase.php, line 188

Class

LingotekTestBase
Base class for Lingotek test. Performs authorization of the account.

Namespace

Drupal\Tests\lingotek\Functional

Code

protected function getContentBulkManagementFormUrl($entity_type_id = 'node', $prefix = NULL) {
  return ($prefix === NULL ? '' : '/' . $prefix) . '/admin/lingotek/manage/' . $entity_type_id;
}