class EntityViewsDataWithDeprecations

Extend EntityViewsData as a module would do.

Include calls to deprecated methods.

Hierarchy

Expanded class hierarchy of EntityViewsDataWithDeprecations

File

core/modules/views/tests/src/Kernel/Entity/EntityViewsDataTest.php, line 846

Namespace

Drupal\Tests\views\Kernel\Entity
View source
class EntityViewsDataWithDeprecations extends EntityViewsData {
    
    /**
     * {@inheritdoc}
     */
    public function getViewsData() {
        // Deprecated method.
        // @phpstan-ignore-next-line
        $this->getFieldStorageDefinitions();
        return [];
    }

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.