Adding Theme Suggestions Programmatically For Views (Rows & Fields)
Your Solution is good, but there is a cleaner one. You can use the hook_theme_suggestions_HOOK_alter, so you do not have to check if it's a view or whatever you want to check.

In your case it would look like this:

    function spve_theme_suggestions_views_view_alter(array &amp;$suggestions, array $variables) {
        // If you want you can add a template suggestion for all views
        // based on their ID:
        $suggestions[] = sprintf('views_view__%s', $variables['view']-&gt;id());

        // Or you can check the ID, add suggestions, do whatever you want
        // ...
    }

    function spve_theme_suggestions_views_view_field_alter(array &amp;$suggestions, array $variables) {
        // Check here the id, add suggestions, do whatever you want
        // ...
    }


More informations in the Drupal Theme API