public function BynderApiTest::getDerivatives in Bynder 8.2
Same name and namespace in other branches
- 8.3 tests/modules/bynder_test_module/src/BynderApiTest.php \Drupal\bynder_test_module\BynderApiTest::getDerivatives()
- 8 tests/modules/bynder_test_module/src/BynderApiTest.php \Drupal\bynder_test_module\BynderApiTest::getDerivatives()
- 4.0.x tests/modules/bynder_test_module/src/BynderApiTest.php \Drupal\bynder_test_module\BynderApiTest::getDerivatives()
Returns value set in state.
File
- tests/
modules/ bynder_test_module/ src/ BynderApiTest.php, line 138
Class
- BynderApiTest
- Bynder API test service.
Namespace
Drupal\bynder_test_moduleCode
public function getDerivatives() {
if (!is_array($this->state
->get('bynder.bynder_test_derivatives'))) {
throw new \Exception();
}
return $this->state
->get('bynder.bynder_test_derivatives');
}