protected property ContentAwareGenerator::$contentRepository

The content repository used to find content by it's id This can be used to specify a parameter content_id when generating urls

This is optional and might not be initialized.

Type: ContentRepositoryInterface

File

drupal/core/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/ContentAwareGenerator.php, line 27

Class

ContentAwareGenerator
A generator that tries to generate routes from object, route names or content objects or names.

Namespace

Symfony\Cmf\Component\Routing

Code

protected $contentRepository;