File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,6 +83,19 @@ def base_hooks(self):
8383 """
8484 return self ._base_hooks
8585
86+ @property
87+ def summary_hook (self ) -> sgtk .Hook :
88+ """Exposes the extensible ``:summary:hook`` instance from app settings.
89+
90+ Used to fetch information related to summary overlay display content.
91+ """
92+ self ._summary_hook = getattr (
93+ self ,
94+ "_summary_hook" ,
95+ self .create_hook_instance (self .get_setting ("summary" )["hook" ]),
96+ )
97+ return self ._summary_hook
98+
8699 @property
87100 def util (self ):
88101 """
Original file line number Diff line number Diff line change @@ -15,6 +15,17 @@ configuration:
1515 description : Specify the name that should be used in menus and the main
1616 publish dialog
1717
18+ summary :
19+ type : dict
20+ description : Hook and settings that defines how the summary overlay is displayed
21+ items :
22+ hook : {type: hook}
23+ settings : {type: dict, allows_empty: True}
24+ default_value :
25+ hook : " {self}/summary_hook.py"
26+ settings :
27+
28+
1829 display_action_name :
1930 type : str
2031 default_value : Publish
You can’t perform that action at this time.
0 commit comments