You are here

public function ContentLoaderInterface::parseContent in YAML Content 8.2

Same name and namespace in other branches
  1. 8 src/ContentLoader/ContentLoaderInterface.php \Drupal\yaml_content\ContentLoader\ContentLoaderInterface::parseContent()

Parse the given yaml content file into an array.

Parameters

string $content_file: A file name for the content file to be loaded.

Return value

array The parsed content array from the file.

1 method overrides ContentLoaderInterface::parseContent()
ContentLoaderBase::parseContent in src/ContentLoader/ContentLoaderBase.php
Parse the given yaml content file into an array.

File

src/ContentLoader/ContentLoaderInterface.php, line 19

Class

ContentLoaderInterface
Defines a common interface for content loader implementations.

Namespace

Drupal\yaml_content\ContentLoader

Code

public function parseContent($content_file);