public function AuthcacheP13nContentBuilderInterface::build in Authenticated User Page Caching (Authcache) 7.2
Build and return the content defined by the input parameters.
When no appropriate content is present, implementations should throw an AuthcacheP13nRequsetNotFound exception.
Parameters
array $input: The GET parameters in key-value form
array $context: Additional run-time per-request context (key-value pairs).
Return value
array|string The built content suitable for passing to the content encoder.
Throws
4 methods override AuthcacheP13nContentBuilderInterface::build()
- AuthcacheP13nFragmentAssemblyBuilder::build in modules/
authcache_p13n/ includes/ AuthcacheP13nFragmentAssemblyBuilder.inc - Build and return the content defined by the input parameters.
- AuthcacheP13nFragmentBuilder::build in modules/
authcache_p13n/ includes/ AuthcacheP13nFragmentBuilder.inc - Build and return the content defined by the input parameters.
- AuthcacheP13nSettingBuilder::build in modules/
authcache_p13n/ includes/ AuthcacheP13nSettingBuilder.inc - Build and return the content defined by the input parameters.
- AuthcacheP13nTestContentBuilderStub::build in modules/
authcache_p13n/ tests/ authcache_p13n.stub.inc - Build and return the content defined by the input parameters.
File
- modules/
authcache_p13n/ includes/ AuthcacheP13nContentBuilderInterface.inc, line 28 - Define content builder interface.
Class
- AuthcacheP13nContentBuilderInterface
- Interface for request response content builders.
Code
public function build($input, $context);