Added a public method to further customize the layout attribute that is being swiped for deletion