protected function Agreement::needsAgreementType in Agreement 3.0.x
Same name and namespace in other branches
- 8.2 src/Plugin/migrate/source/Agreement.php \Drupal\agreement\Plugin\migrate\source\Agreement::needsAgreementType()
Checks the version applied to the migration.
Return value
bool TRUE if the version needs agreement type field.
1 call to Agreement::needsAgreementType()
- Agreement::fields in src/
Plugin/ migrate/ source/ Agreement.php - Returns available fields on the source.
File
- src/
Plugin/ migrate/ source/ Agreement.php, line 58
Class
- Agreement
- Agreement migrate source plugin.
Namespace
Drupal\agreement\Plugin\migrate\sourceCode
protected function needsAgreementType() {
$version = isset($this->configuration['version']) ? (int) $this->configuration['version'] : 7;
return $version === 7;
}