FieldablePanelsPaneType.php in Fieldable Panels Panes (FPP) 1.0.x
File
src/Plugin/migrate/source/d7/FieldablePanelsPaneType.php
View source
<?php
namespace Drupal\fieldable_panels_panes\Plugin\migrate\source\d7;
use Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase;
class FieldablePanelsPaneType extends DrupalSqlBase {
public function query() {
return $this
->select('fieldable_panels_pane_type', 'fppt')
->fields('fppt');
}
public function fields() {
$fields = [
'name' => $this
->t('Human name of the panel pane type.'),
'description' => $this
->t('Description of the panel pane type.'),
'title' => $this
->t('Title label.'),
];
return $fields;
}
public function getIds() {
$ids['name']['type'] = 'string';
return $ids;
}
}