AdminElf.Resource.update_resource

You're seeing just the callback update_resource, go back to AdminElf.Resource module for more information.
Link to this callback

update_resource(conn, item, attrs)

View Source (optional)

Specs

update_resource(conn :: Plug.Conn.t(), item :: any(), attrs :: any()) ::
  {:ok, updated_item :: any()} | {:error, reason :: term()}