You are here

protected function ContentIndexerTrait::getContentIndexFilePath in Tome 8

Gets the index file path.

Return value

string The index file path.

3 calls to ContentIndexerTrait::getContentIndexFilePath()
ContentIndexerTrait::acquireContentIndexLock in modules/tome_sync/src/ContentIndexerTrait.php
Acquires a lock for writing to the index.
ContentIndexerTrait::deleteContentIndex in modules/tome_sync/src/ContentIndexerTrait.php
Deletes the index file.
ContentIndexerTrait::getContentIndex in modules/tome_sync/src/ContentIndexerTrait.php
Gets the contents of the index.

File

modules/tome_sync/src/ContentIndexerTrait.php, line 176

Class

ContentIndexerTrait
Provides methods for reading and writing the index file.

Namespace

Drupal\tome_sync

Code

protected function getContentIndexFilePath() {
  return Settings::get('tome_content_directory', '../content') . '/meta/index.json';
}