Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292843

Views try to find Custom StylePlugin template in core/modules/views/templates

$
0
0

Problem/Motivation

For Custom StylePlugin

<?php
/**
* Style plugin to render each item as my style.
*
* @ingroup views_style_plugins
*
* @Plugin(
*   id = "my_style",
*   module = "my_views_style_plugin",
*   title = @Translation("My Style"),
*   help = @Translation("Displays rows as my style."),
*   theme = "views_view_my_style",
*   type = "normal"
* )
*/
?>

Views trying to locate views-view-my-style.tpl.php in core/modules/views/templates rather modules/my_views_style_plugin

Proposed resolution

See the patch

Remaining tasks

Fix the issue.

User interface changes

None

API changes

None

AttachmentSizeStatusTest resultOperations
custom_styleplugin_template.patch555 bytesIdlePASSED: [[SimpleTest]]: [MySQL] 49,568 pass(es).View details | Re-test

Viewing all articles
Browse latest Browse all 292843

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>