You are here

public function CloudFlareZoneInterface::listZones in CloudFlare 8

Retrieves a listing of zones in the current CloudFlare account.

Return value

array A array of CloudFlareZones objects from the current CloudFlare account.

Throws

\CloudFlarePhpSdk\Exceptions\CloudFlareApiException Application level error returned from the API.

2 methods override CloudFlareZoneInterface::listZones()
Zone::listZones in src/Zone.php
Retrieves a listing of zones in the current CloudFlare account.
ZoneMock::listZones in tests/modules/cloudflare_form_tester/src/Mocks/ZoneMock.php
Retrieves a listing of zones in the current CloudFlare account.

File

src/CloudFlareZoneInterface.php, line 38

Class

CloudFlareZoneInterface
Zone methods for CloudFlare.

Namespace

Drupal\cloudflare

Code

public function listZones();