function beautytips_manager_delete_custom_style in BeautyTips 8
Same name and namespace in other branches
- 7.2 beautytips_manager.module \beautytips_manager_delete_custom_style()
Delete a singular custom beautytip.
1 call to beautytips_manager_delete_custom_style()
- CustomStylesDeleteForm::submitForm in beautytips_manager/
src/ Form/ CustomStylesDeleteForm.php - Form submission handler.
File
- beautytips_manager/
beautytips_manager.module, line 234 - Code related to defining and displaying custom beautytips and styles.
Code
function beautytips_manager_delete_custom_style($id) {
\Drupal::database()
->delete('beautytips_custom_styles')
->condition('id', $id)
->execute();
}