You are here

public static function Storage::getIdentifier in Acquia Search 3.x

Returns Acquia Subscription identifier.

Return value

string Acquia Subscription identifier.

17 calls to Storage::getIdentifier()
AcquiaSearchApiClientTest::setUp in tests/src/Unit/AcquiaSearchApiClientTest.php
AcquiaSearchApiClientTest::testAcquiaSearchApiCache in tests/src/Unit/AcquiaSearchApiClientTest.php
Tests invalidation if cache.
AcquiaSearchApiClientTest::testAcquiaSearchApiCall in tests/src/Unit/AcquiaSearchApiClientTest.php
Tests call to Acquia Search V3 API.
AcquiaSearchCommands::searchSolrCoresList in src/Commands/AcquiaSearchCommands.php
Lists available Acquia search cores.
AcquiaSearchCommands::searchSolrResetCoresCache in src/Commands/AcquiaSearchCommands.php
Resets the Acquia Solr Search cores cache.

... See full list

File

src/Helper/Storage.php, line 40

Class

Storage
Class Storage.

Namespace

Drupal\acquia_search\Helper

Code

public static function getIdentifier() : string {
  return \Drupal::state()
    ->get('acquia_search.identifier', '');
}