FakeContentDimensionSourceFactory
class FakeContentDimensionSourceFactory implements ContentDimensionSourceFactoryInterface (View source)
Fake factory for testing. Note that the factory MUST be initialised BEFORE the content repository is fetched.
Any changes after initialing a cr are lost UNLESS the content repository is rebuild.
Methods
static void
static void
setWithoutDimensions()
Configures a zero-dimensional content repository
ContentDimension|null
array
getContentDimensionsOrderedByPriority()
No description
Details
ContentDimensionSourceInterface
build(ContentRepositoryId $contentRepositoryId, array $options)
No description
static void
setContentDimensionSource(ContentDimensionSourceInterface $contentDimensionSource)
No description
static void
setWithoutDimensions()
Configures a zero-dimensional content repository
ContentDimension|null
getDimension(ContentDimensionId $dimensionId)
No description
array
getContentDimensionsOrderedByPriority()
No description