Skip to content

Template syntax in block file #15345

@gelanivishal

Description

@gelanivishal

Preconditions

  1. Magento 2.2.4
  2. PHP 7.1.15
  3. MySQL 14.14
  4. Ubuntu

Steps to reproduce

Not followed correct syntax to set template in following block file
app/code/Magento/Theme/Block/Html/Breadcrumbs.php

Expected result

protected $_template = 'Magento_Theme::html/breadcrumbs.phtml';

Actual result

protected $_template = 'html/breadcrumbs.phtml';

Metadata

Metadata

Assignees

No one assigned

    Labels

    Event: dmcdindiaFixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Format is validGate 1 Passed. Automatic verification of issue format passedProgress: PR CreatedIndicates that Pull Request has been created to fix issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions