public function GdprFieldConfigEntity::getFilename in General Data Protection Regulation 3.0.x
Same name and namespace in other branches
- 8.2 modules/gdpr_fields/src/Entity/GdprFieldConfigEntity.php \Drupal\gdpr_fields\Entity\GdprFieldConfigEntity::getFilename()
- 8 modules/gdpr_fields/src/Entity/GdprFieldConfigEntity.php \Drupal\gdpr_fields\Entity\GdprFieldConfigEntity::getFilename()
Gets the export filename.
Parameters
string $bundle: The bundle.
Return value
string The filename of the file to store export data in.
1 call to GdprFieldConfigEntity::getFilename()
- GdprFieldConfigEntity::getField in modules/
gdpr_fields/ src/ Entity/ GdprFieldConfigEntity.php - Gets field metadata.
File
- modules/
gdpr_fields/ src/ Entity/ GdprFieldConfigEntity.php, line 154
Class
- GdprFieldConfigEntity
- Defines a GDPR Field configuration entity.
Namespace
Drupal\gdpr_fields\EntityCode
public function getFilename($bundle) {
if (isset($this->filenames[$bundle])) {
return $this->filenames[$bundle];
}
return $this->id;
}