<p>This allows you to override the search source object.</p>

<p>Fires when the <code>search.source</code> container is called.</p>

<p>
	<em>Note:</em> This event has been renamed in XenForo 2.2 due to backwards compatibility breaks with the search source system.
</p>

<p>Callback signature:</p>
<blockquote><code><em>\XF\Container</em> $container, &amp;$source</code></blockquote>

<p>Arguments:</p>
<ol>
	<li><code><em>\XF\Container</em> $container</code> - Dependency injection container object.</li>
	<li><code>&amp;$source</code> - This argument allows you to return the search source object override. If set, this must be an instance of \XF\Search\Source\AbstractSource.</li>
</ol>