/** * @param $feature * @param string $layout */ public function displayFeature($feature, $layout = 'basic') { if (defined('GANTRY_FINALIZED')) { return ''; } gantry_import('core.renderers.gantryfeaturerenderer'); return GantryFeatureRenderer::display($feature, $layout); }
function displayFeature($feature, $layout = 'basic') { gantry_import('core.renderers.gantryfeaturerenderer'); return GantryFeatureRenderer::display($feature, $layout); }