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