src/Extensions/Gedmo/Sluggable.php 1 location
|
@@ 127-134 (lines=8) @@
|
| 124 |
|
/** |
| 125 |
|
* Execute the build process |
| 126 |
|
*/ |
| 127 |
|
public function build() |
| 128 |
|
{ |
| 129 |
|
$extension = $this->classMetadata->getExtension($this->getExtensionName()); |
| 130 |
|
|
| 131 |
|
$extension['slugs'][$this->fieldName] = $this->makeConfiguration(); |
| 132 |
|
|
| 133 |
|
$this->classMetadata->addExtension($this->getExtensionName(), $extension); |
| 134 |
|
} |
| 135 |
|
|
| 136 |
|
/** |
| 137 |
|
* @param array|string $fields |
src/Extensions/Gedmo/Sortable/SortableGroup.php 1 location
|
@@ 67-74 (lines=8) @@
|
| 64 |
|
/** |
| 65 |
|
* Execute the build process |
| 66 |
|
*/ |
| 67 |
|
public function build() |
| 68 |
|
{ |
| 69 |
|
$extension = $this->classMetadata->getExtension($this->getExtensionName()); |
| 70 |
|
|
| 71 |
|
$extension['groups'][] = $this->fieldName; |
| 72 |
|
|
| 73 |
|
$this->classMetadata->addExtension($this->getExtensionName(), $extension); |
| 74 |
|
} |
| 75 |
|
} |
| 76 |
|
|
src/Extensions/Gedmo/Sortable/SortablePosition.php 1 location
|
@@ 57-64 (lines=8) @@
|
| 54 |
|
/** |
| 55 |
|
* Execute the build process |
| 56 |
|
*/ |
| 57 |
|
public function build() |
| 58 |
|
{ |
| 59 |
|
$extension = $this->classMetadata->getExtension($this->getExtensionName()); |
| 60 |
|
|
| 61 |
|
$extension['position'] = $this->fieldName; |
| 62 |
|
|
| 63 |
|
$this->classMetadata->addExtension($this->getExtensionName(), $extension); |
| 64 |
|
} |
| 65 |
|
} |
| 66 |
|
|