Skip to content

$_view is listed as @deprecated in Magento\Framework\App\Action #1583

@markshust

Description

@markshust

This code in Magento\Framework\App\Action

/**
 * @deprecated
 * @var \Magento\Framework\App\ViewInterface
 */
protected $_view;

Is the deprecated docblock element supposed to be there? If so, what is the alternative? The core code uses this in a lot of places, for example to load the layout: $this->_view->loadLayout();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions