class EntityViewsDataWithDeprecations
Extend EntityViewsData as a module would do.
Include calls to deprecated methods.
Hierarchy
- class \Drupal\views\EntityViewsData implements \Drupal\Core\Entity\EntityHandlerInterface, \Drupal\views\EntityViewsDataInterface uses \Drupal\Core\StringTranslation\StringTranslationTrait
- class \Drupal\Tests\views\Kernel\Entity\EntityViewsDataWithDeprecations extends \Drupal\views\EntityViewsData
Expanded class hierarchy of EntityViewsDataWithDeprecations
File
-
core/
modules/ views/ tests/ src/ Kernel/ Entity/ EntityViewsDataTest.php, line 846
Namespace
Drupal\Tests\views\Kernel\EntityView 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.