def get_phases_by_plugin(name):
 return list(get_plugin_by_name(name).phase_handlers)

def get_phases_by_plugin ( name ) : return list ( get_plugin_by_name ( name ) . phase_handlers )
return all phases plugin :name: hooks .