View::$base_field

Same name in other branches
  1. 9 core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::base_field
  2. 8.9.x core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::base_field
  3. 11.x core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::base_field

The name of the base field to use.

Type: string

File

core/modules/views/src/Entity/View.php, line 101

Class

View
Defines a View configuration entity class.

Namespace

Drupal\views\Entity

Code

protected $base_field = 'nid';

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