function MenuTest::fields

Same name in other branches
  1. 11.x core/modules/migrate_drupal_ui/tests/modules/migrate_drupal_message_test/src/Plugin/migrate/source/MenuTest.php \Drupal\migrate_drupal_message_test\Plugin\migrate\source\MenuTest::fields()

Overrides Menu::fields

File

core/modules/migrate_drupal_ui/tests/modules/migrate_drupal_message_test/src/Plugin/migrate/source/MenuTest.php, line 20

Class

MenuTest
Source plugin with a source id removed from the array returned by fields().

Namespace

Drupal\migrate_drupal_message_test\Plugin\migrate\source

Code

public function fields() {
    $fields = parent::fields();
    unset($fields['menu_name']);
    return $fields;
}

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