EntityContentBase::$accountSwitcher

Same name in other branches
  1. 9 core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php \Drupal\migrate\Plugin\migrate\destination\EntityContentBase::accountSwitcher
  2. 11.x core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php \Drupal\migrate\Plugin\migrate\destination\EntityContentBase::accountSwitcher

The account switcher service.

Type: \Drupal\Core\Session\AccountSwitcherInterface

File

core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php, line 108

Class

EntityContentBase
Provides destination class for all content entities lacking a specific class.

Namespace

Drupal\migrate\Plugin\migrate\destination

Code

protected $accountSwitcher;

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