You are here

public function ContentParsedEvent::getContentFile in YAML Content 8

Same name and namespace in other branches
  1. 8.2 src/Event/ContentParsedEvent.php \Drupal\yaml_content\Event\ContentParsedEvent::getContentFile()

Gets the file path of the content file that was loaded.

Return value

string The file path for the content file that was loaded.

File

src/Event/ContentParsedEvent.php, line 49

Class

ContentParsedEvent
Wraps a yaml content content parsed event for event listeners.

Namespace

Drupal\yaml_content\Event

Code

public function getContentFile() {
  return $this->contentFile;
}