public static function EntityUpdateTestsContentEntity02::getConfigurableFields in Entity Update 8
Same name and namespace in other branches
- 2.0.x tests/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 modules/
entity_update_tests/ src/ Form/ EntityUpdateTestSettings.php
File
- 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;
}