You are here

public function ApiProductController::searchByAttribute in Apigee Edge 8

Same name in this branch
  1. 8 src/Entity/Controller/ApiProductController.php \Drupal\apigee_edge\Entity\Controller\ApiProductController::searchByAttribute()
  2. 8 modules/apigee_edge_apiproduct_rbac/tests/modules/apigee_edge_apiproduct_rbac_test/src/ApiProductController.php \Drupal\apigee_edge_apiproduct_rbac_test\ApiProductController::searchByAttribute()

File

modules/apigee_edge_apiproduct_rbac/tests/modules/apigee_edge_apiproduct_rbac_test/src/ApiProductController.php, line 216

Class

ApiProductController
API product controller that reads and writes attributes from/to States API.

Namespace

Drupal\apigee_edge_apiproduct_rbac_test

Code

public function searchByAttribute(string $attributeName, string $attributeValue) : array {
  return $this->innerService
    ->searchByAttribute($attributeName, $attributeValue);
}