src/Component/Frontend/RecipeSlugModal/RecipeSlugModal.php
public function handleOpen(int $recipeId = NULL) : void
    {
        if ($this->presenter->isAjax())
        {
            $this->recipeId = $recipeId;

            $this->presenter->handleModalToggle('show', '#wakers_structure_recipe_slug_modal', FALSE);

            $this->onOpen();
        }
    }
public function handleOpen(int $recipeId = NULL) : void
    {
        if ($this->presenter->isAjax())
        {
            $this->recipeId = $recipeId;

            $this->presenter->handleModalToggle('show', '#wakers_structure_recipe_slug_modal', FALSE);

            $this->onOpen();
        }
    }
public function handleOpen ( int $ recipeId = NULL ) : void { if ( $ this -> presenter -> isAjax ( ) ) { $ this -> recipeId = $ recipeId ; $ this -> presenter -> handleModalToggle ( 'show' , '#wakers_structure_recipe_slug_modal' , FALSE ) ; $ this -> onOpen ( ) ; } }
Handle edit
@param int|NULL $recipeId
Handle edit