What is use of "view_render_event()" function And why we load on view file ? Please explain me.
-
My view file : -
{!! view_render_event('bagisto.admin.catalog.product.create_form_accordian.configurable_attributes.controls.before') !!}
<div class="table 1">
<table>
<thead>
<tr>
<th>{{ __('admin::app.catalog.products.attribute-header') }}</th>
<th>{{ __('admin::app.catalog.products.attribute-option-header') }}</th>
<th></th>
</tr>
</thead><tbody> @foreach ($configurableFamily->configurable_attributes as $attribute) <tr> <td> {{ $attribute->admin_name }} </td> <td> @foreach ($attribute->options as $option) <span class="label"> <input type="hidden" name="super_attributes[{{$attribute->code}}][]" value="{{ $option->id }}"/> {{ $option->admin_name }} <i class="icon cross-icon"></i> </span> @endforeach </td> <td class="actions"> <i class="icon trash-icon"></i> </td> </tr> @endforeach </tbody> </table> </div>
{!! view_render_event('bagisto.admin.catalog.product.create_form_accordian.configurable_attributes.controls.after') !!}
Please explain me what is use of this function.
Thanks,
-
-
The new version from the doc article in here
https://devdocs.bagisto.com/1.x/advanced/render-event.html