Update SearchForm.php

This commit is contained in:
Kyle Huynh 2023-02-10 16:16:11 -05:00 committed by GitHub
parent baf239e858
commit 3fdb8408ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,29 @@ use \Drupal\Core\Url;
class SearchForm extends FormBase
{
protected $block_id;
/**
* @param $block_id
*/
public function __construct($block_id) {
$this->block_id = $block_id;
}
/**
* @return mixed
*/
public function getBlockId() {
return $this->block_id;
}
/**
* @param mixed $block_id
*/
public function setBlockId($block_id): void {
$this->block_id = $block_id;
}
/**
* {@inheritdoc}
*/