public static function EntityUpdateTestsContentEntity02::getConfigurableFields in Entity Update 2.0.x
Same name and namespace in other branches
- 8 modules/entity_update_tests/src/Entity/EntityUpdateTestsContentEntity02.php \Drupal\entity_update_tests\Entity\EntityUpdateTestsContentEntity02::getConfigurableFields()
Get configurable fields list.
1 call to EntityUpdateTestsContentEntity02::getConfigurableFields()
- EntityUpdateTestSettings::getConfigurableFields in tests/
modules/ entity_update_tests/ src/ Form/ EntityUpdateTestSettings.php
File
- tests/
modules/ entity_update_tests/ src/ Entity/ EntityUpdateTestsContentEntity02.php, line 29
Class
- EntityUpdateTestsContentEntity02
- Defines the Paragraph entity.
Namespace
Drupal\entity_update_tests\EntityCode
public static function getConfigurableFields($mode = NULL) {
$list = [];
// Install / Uninstall fields.
if ($mode == 'install' || !$mode) {
$list['city'] = 'City';
}
return $list;
}