PHP Interface Neos\Neos\Service\DataSource\DataSourceInterface

This is used in the user interface to generate dynamic option lists.
Show file Open project: neos/neos-development-collection

Public Methods

Method Description
getData ( Neos\ContentRepository\Domain\Model\NodeInterface $node = null, array $arguments ) : mixed Get data
getIdentifier ( ) : string

Method Details

getData() public method

The return value must be JSON serializable data structure.
public getData ( Neos\ContentRepository\Domain\Model\NodeInterface $node = null, array $arguments ) : mixed
$node Neos\ContentRepository\Domain\Model\NodeInterface The node that is currently edited (optional)
$arguments array Additional arguments (key / value)
return mixed JSON serializable data

getIdentifier() public static method

public static getIdentifier ( ) : string
return string The identifier of the data source