protected function validateDataThemeStore()
    {
        $field = 'data.theme';
        $value = $this->getSubmitted($field);
        $module = $this->module->get($value);

        if (isset($module['type']) && $module['type'] === 'theme' && !empty($module['status'])) {
            return true;
        }

        $this->setErrorUnavailable($field, $this->translation->text('Theme'));
        return false;
    }
protected function validateDataThemeStore()
    {
        $field = 'data.theme';
        $value = $this->getSubmitted($field);
        $module = $this->module->get($value);

        if (isset($module['type']) && $module['type'] === 'theme' && !empty($module['status'])) {
            return true;
        }

        $this->setErrorUnavailable($field, $this->translation->text('Theme'));
        return false;
    }
protected function validateDataThemeStore ( ) { $ field = 'data.theme' ; $ value = $ this -> getSubmitted ( $ field ) ; $ module = $ this -> module -> get ( $ value ) ; if ( isset ( $ module [ 'type' ] ) && $ module [ 'type' ] === 'theme' && ! empty ( $ module [ 'status' ] ) ) { return true ; } $ this -> setErrorUnavailable ( $ field , $ this -> translation -> text ( 'Theme' ) ) ; return false ; }
Validates theme module IDs
@return boolean
Validates theme module IDs