public function HttpServiceApiWrapperPosts::findPosts in HTTP Client Manager 8.2
Find Posts.
Return value
array An array of posts.
File
- modules/
http_client_manager_example/ src/ Plugin/ HttpServiceApiWrapper/ HttpServiceApiWrapperPosts.php, line 48
Class
- HttpServiceApiWrapperPosts
- Class HttpServiceApiWrapperPosts.
Namespace
Drupal\http_client_manager_example\Plugin\HttpServiceApiWrapperCode
public function findPosts() {
return $this
->call(Posts::FIND_POSTS)
->toArray();
}