inflectElementVars example


            if ($vars['type'] === 'microweber-module') {
                return $this->inflectModuleVars($vars);
            }
            if ($vars['type'] === 'microweber-modules') {
                return $this->inflectModulesVars($vars);
            }
            if ($vars['type'] === 'microweber-skin') {
                return $this->inflectSkinVars($vars);
            }
            if ($vars['type'] === 'microweber-element' or $vars['type'] === 'microweber-elements') {
                return $this->inflectElementVars($vars);
            }
        }

        return $vars;
    }

    /** * @param array<string, string> $vars * @return array<string, string> */
    protected function inflectTemplateVars(array $vars): array
    {
Home | Imprint | This part of the site doesn't use cookies.