Contact Form Plugin - How is the form function registered?

william - 2 weeks ago

Looking at the contact plugin, it's empty. Where does the logic for {{form('contact)}} come from?

<?php namespace Anomaly\ContactPlugin;
use Anomaly\Streams\Platform\Addon\Plugin\Plugin;
/**
 * Class ContactPlugin
 *
 * @link   http://pyrocms.com/
 * @author PyroCMS, Inc. <[email protected]>
 * @author Ryan Thompson <[email protected]>
 */
class ContactPlugin extends Plugin
{
}

Answer

william - 2 weeks ago

Bindings.. bla bla bla

william - 2 weeks ago

Bindings.. bla bla bla

ryanthompson - 2 weeks ago

Blah blah blah {{ form('contact') }} is here: https://github.com/anomalylabs/contact-plugin/blob/1.2/src/ContactPluginServiceProvider.php#L22

william - 2 weeks ago

Thats what i said:)