public function FieldBaseConfigurationHandler::removeFromDatabase in Configuration Management 7.3
Deletes a configuration from the database.
Parameters
\Configuration\Configuration $configuration: The configuration to be deleted.
Overrides ConfigurationHandler::removeFromDatabase
File
- src/
Handlers/ FieldBaseConfigurationHandler.php, line 79
Class
Namespace
Configuration\HandlersCode
public function removeFromDatabase(Configuration $configuration) {
$field_name = $this
->getInternalId($configuration
->getIndentifier());
$this->configuration_manager
->drupal()
->field_delete_field($field_name);
$this->purge_batch++;
}